theme_root filter-hook . WP 1.5.0
Filters the absolute path to the themes directory.
Usage
add_filter( 'theme_root', 'filter_function_name_759' ); function filter_function_name_759( $theme_root ){ // filter... return $theme_root; }
- $theme_root(string)
- Absolute path to themes directory.
Changelog
Since 1.5.0 | Introduced. |
Where the hook is called
theme_root
wp-includes/theme.php 609
return apply_filters( 'theme_root', $theme_root );