WP_Theme::get_theme_root() public WP 3.4.0
The absolute path to the directory of the theme root.
This is typically the absolute path to wp-content/themes.
{} Это метод класса: WP_Theme{}
Хуков нет.
Возвращает
Строку. Theme root.
Использование
$WP_Theme = new WP_Theme(); $WP_Theme->get_theme_root();
Список изменений
С версии 3.4.0 | Введена. |
Код WP_Theme::get_theme_root() WP Theme::get theme root WP 5.6.2
public function get_theme_root() {
return $this->theme_root;
}