theme_root хук-фильтр . WP 1.5.0
Filters the absolute path to the themes directory.
Использование
add_filter( 'theme_root', 'filter_function_name_9288' ); function filter_function_name_9288( $theme_root ){ // filter... return $theme_root; }
- $theme_root(строка)
- Absolute path to themes directory.
Список изменений
С версии 1.5.0 | Введена. |
Где вызывается хук
theme_root
wp-includes/theme.php 609
return apply_filters( 'theme_root', $theme_root );