WP_Theme::get_theme_root()
The absolute path to the directory of the theme root.
Description Description
This is typically the absolute path to wp-content/themes.
Return Return
(string) Theme root.
Source Source
File: wp-includes/class-wp-theme.php
public function get_theme_root() { return $this->theme_root; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |