WP_Theme::get_theme_root

SummerySummery

The absolute path to the directory of the theme root.

Syntax

WP_Theme::get_theme_root()

DescriptionDescription

This is typically the absolute path to wp-content/themes.

ReturnReturn

(string) Theme root.

SourceSource

File: wp-includes/class-wp-theme.php


			

ChangelogChangelog

Changelog
Version Description
3.4.0 Introduced.
Scroll to Top