On this page
apply_filters( 'theme_root', string $theme_root )
Filters the absolute path to the themes directory.
Parameters
$theme_rootstring-
Absolute path to themes directory.
Source
File: wp-includes/theme.php. View all references
return apply_filters( 'theme_root', $theme_root );
Related
Used By
| Used By | Description |
|---|---|
| get_theme_root() wp-includes/theme.php | Retrieves path to themes directory. |
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/theme_root