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

Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

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