WP_Theme::get_theme_root(): string

In this article

Returns the absolute path to the directory of the theme root.

Description

This is typically the absolute path to wp-content/themes.

Return

string Theme root.

Source

public function get_theme_root() {
	return $this->theme_root;
}

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

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