do_action( "customize_preview_{$this->id}", WP_Customize_Setting $setting )
Fires when the WP_Customize_Setting::preview() method is called for settings not handled as theme_mods or options.
Description
The dynamic portion of the hook name, $this->id
, refers to the setting ID.
Parameters
-
$setting
WP_Customize_Setting -
WP_Customize_Setting instance.
Source
File: wp-includes/class-wp-customize-setting.php
.
View all references
do_action( "customize_preview_{$this->id}", $this );
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |