WP_Customize_Manager::get_template()
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() WP Customize Manager::get template code WP 6.6.2
public function get_template() { return $this->theme()->get_template(); }