Retrieves the stylesheet name of the previewed theme.
Return
string Stylesheet name.Source
public function get_stylesheet() {
return $this->theme()->get_stylesheet();
}
Related
Uses | Description |
---|---|
WP_Customize_Manager::theme()wp-includes/class-wp-customize-manager.php | Gets the theme being customized. |
Used by | Description |
---|---|
WP_Customize_Manager::_publish_changeset_values()wp-includes/class-wp-customize-manager.php | Publishes the values of a changeset. |
WP_Customize_Manager::update_stashed_theme_mod_settings()wp-includes/class-wp-customize-manager.php | Updates stashed theme mod settings. |
WP_Customize_Manager::save_changeset_post()wp-includes/class-wp-customize-manager.php | Saves the post for the loaded changeset. |
WP_Customize_Manager::add_state_query_params()wp-includes/class-wp-customize-manager.php | Adds customize state query params to a given URL if preview is allowed. |
WP_Customize_Manager::import_theme_starter_content()wp-includes/class-wp-customize-manager.php | Imports theme starter content into the customized state. |
WP_Customize_Manager::get_nonces()wp-includes/class-wp-customize-manager.php | Gets nonces for the Customizer. |
WP_Customize_Manager::customize_pane_settings()wp-includes/class-wp-customize-manager.php | Prints JavaScript settings for parent window. |
WP_Customize_Manager::unsanitized_post_values()wp-includes/class-wp-customize-manager.php | Gets dirty pre-sanitized setting values in the current customized state. |
WP_Customize_Manager::customize_preview_settings()wp-includes/class-wp-customize-manager.php | Prints JavaScript settings for preview frame. |
WP_Customize_Manager::get_stylesheet_root()wp-includes/class-wp-customize-manager.php | Retrieves the stylesheet root of the previewed theme. |
WP_Customize_Manager::save()wp-includes/class-wp-customize-manager.php | Handles customize_save WP Ajax request to save/update a changeset. |
WP_Customize_Manager::setup_theme()wp-includes/class-wp-customize-manager.php | Starts preview and customize theme. |
WP_Customize_Manager::is_theme_active()wp-includes/class-wp-customize-manager.php | Checks if the current theme is active. |
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.