WordPress at a glance
function is not described

WP_Customize_Manager::get_template_root() public WP 3.4.0

Retrieve the template root of the previewed theme.

{} It's a method of the class: WP_Customize_Manager{}

No Hooks.

Return

String. Theme root.

Usage

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

Changelog

Since 3.4.0 Introduced.

Code of WP_Customize_Manager::get_template_root() WP 5.7.2

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