WP_Customize_Manager::get_template()publicWP 3.4.0

Retrieves the template name of the previewed theme.

Method of the class: WP_Customize_Manager{}

No Hooks.

Return

String. Template name.

Usage

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->get_template();

Changelog

Since 3.4.0 Introduced.

WP_Customize_Manager::get_template() code WP 6.6.2

public function get_template() {
	return $this->theme()->get_template();
}