apply_filters( 'template_directory', string $template_dir , string $template , string $theme_root )
Filters the active theme directory path.
Parameters
- $template_dir
-
The path of the active theme directory.
- $template
-
Directory name of the active theme.
- $theme_root
-
Absolute path to the themes directory.
Source
File: wp-includes/theme.php
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |