WP_Customize_Manager::get_stylesheet()publicWP 3.4.0

Retrieves the stylesheet name of the previewed theme.

Method of the class: WP_Customize_Manager{}

No Hooks.

Return

String. Stylesheet name.

Usage

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

Changelog

Since 3.4.0 Introduced.

WP_Customize_Manager::get_stylesheet() code WP 6.1.1

public function get_stylesheet() {
	return $this->theme()->get_stylesheet();
}