WP_Customize_Manager::get_stylesheet()
Retrieve the stylesheet name of the previewed theme.
Description #Description
Return #Return
(string) Stylesheet name.
Source #Source
File: wp-includes/class-wp-customize-manager.php
public function get_stylesheet() { return $this->theme()->get_stylesheet(); }
Expand full source code Collapse full source code View on Trac
Changelog #Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
Related #Related
Uses #Uses
Uses | Description |
---|---|
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::theme() |
Get the theme being customized. |
Used By #Used By
Used By | Description |
---|---|
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::_publish_changeset_values() |
Publish changeset values. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::update_stashed_theme_mod_settings() |
Update stashed theme mod settings. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::save_changeset_post() |
Save the post for the loaded changeset. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::add_state_query_params() |
Add customize state query params to a given URL if preview is allowed. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::import_theme_starter_content() |
Import theme starter content into the customized state. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::get_nonces() |
Get nonces for the Customizer. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::customize_pane_settings() |
Print JavaScript settings for parent window. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::unsanitized_post_values() |
Get dirty pre-sanitized setting values in the current customized state. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::customize_preview_settings() |
Print JavaScript settings for preview frame. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::get_stylesheet_root() |
Retrieve the stylesheet root of the previewed theme. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::save() |
Handle customize_save WP Ajax request to save/update a changeset. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::setup_theme() |
Start preview and customize theme. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::is_theme_active() |
Checks if the current theme is active. |