WP_Customize_Manager::get_template_root()

Retrieve the template root of the previewed theme.


Return Return

(string) Theme root.



Top ↑

Source Source

File: wp-includes/class-wp-customize-manager.php

	public function get_template_root() {
		return get_raw_theme_root( $this->get_template(), true );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.