A WordPress-centric search engine for devs and theme authors



customize_preview_{$this->id} ›

Since3.4.0
Deprecatedn/a
do_action( "customize_preview_{$this->id}", $this )
Parameters:
  • (WP_Customize_Setting) $this WP_Customize_Setting instance.
    Required: Yes
Defined at:
Codex:

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.





Source

do_action( "customize_preview_{$this->id}", $this );