WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about template_directory

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/theme.php apply_filters 339 /**
* Filters the active theme directory path.
*
* @since 1.5.0
*
* @param string $template_dir The path of the active theme directory.
* @param string $template Directory name of the active theme.
* @param string $theme_root Absolute path to the themes directory.
*/

Hook Parameters

Parameter Type Name Description
string $template_dir The path of the active theme directory.
string $template Directory name of the active theme.
string $theme_root Absolute path to the themes directory.