File: wp-includes/class-wp-customize-manager.php
-
Custom wp_die wrapper. Returns either the standard message for UI or the Ajax message.
-
Gets the registered sections.
-
Returns the Ajax wp_die() handler if it’s a customized request.
-
Checks if the current theme is active.
-
Starts preview and customize theme.
-
Registers styles/scripts and initialize the preview of each setting
-
Callback to validate a theme once it is loaded
-
Fires once WordPress has loaded, allowing scripts and styles to be initialized.
-
If the theme to be previewed isn’t the active theme, add filter callbacks to swap it out at runtime.
-
Prevents Ajax requests from following redirects when previewing a theme by issuing a 200 response instead of a 30x.
-
Fires once the Customizer theme preview has started.
-
Returns the sanitized value for a given setting from the current customized state.
-
Stops previewing the selected theme.
-
Fires once the Customizer theme preview has stopped.
-
classWP_Customize_Manager
Customize Manager class.
-
Constructor.
-
Returns true if it’s an Ajax request.