Filters the active theme directory path.
$template_dirstring
$templatestring
$theme_rootstring
return apply_filters( 'template_directory', $template_dir, $template, $theme_root );
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/template_directory