WP_Customize_Manager::get_template_root(): string In this article Table of ContentsReturn Source Related Changelog ↑ Back to top Retrieves the template root of the previewed theme. Return string Theme root. Source public function get_template_root() { return get_raw_theme_root( $this->get_template(), true ); } View all references View on Trac View on GitHub Related UsesDescriptionWP_Customize_Manager::get_template()wp-includes/class-wp-customize-manager.phpRetrieves the template name of the previewed theme. get_raw_theme_root()wp-includes/theme.phpGets the raw theme root relative to the content directory with no filters applied. Changelog VersionDescription3.4.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.