WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about customize_preview_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-customize-setting.php do_action 400 /**
* Fires when the WP_Customize_Setting::preview() method is called for settings
* not handled as theme_mods or options.
*
* The dynamic portion of the hook name, `$this->id`, refers to the setting ID.
*
* @since 3.4.0
*
* @param WP_Customize_Setting $setting WP_Customize_Setting instance.
*/
wp-includes/class-wp-customize-setting.php do_action 412 /**
* Fires when the WP_Customize_Setting::preview() method is called for settings
* not handled as theme_mods or options.
*
* The dynamic portion of the hook name, `$this->type`, refers to the setting type.
*
* @since 4.1.0
*
* @param WP_Customize_Setting $setting WP_Customize_Setting instance.
*/

Hook Parameters

Parameter Type Name Description
WP_Customize_Setting $setting WP_Customize_Setting instance.
WP_Customize_Setting $setting WP_Customize_Setting instance.