WordPress at Your Fingertips
function is not described

WP_Customize_Manager::get_template() public WP 3.4.0

Retrieve the template name of the previewed theme.

{} It's a 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.

Code of WP_Customize_Manager::get_template() WP 5.8.1

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