WP_Customize_Manager::theme(): WP_Theme

In this article

Gets the theme being customized.

Return

WP_Theme

Source

public function theme() {
	if ( ! $this->theme ) {
		$this->theme = wp_get_theme();
	}
	return $this->theme;
}

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

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