wpseek.com
A WordPress-centric search engine for devs and theme authors



customize_preview_{$this->type} › WordPress Action Hooks

Since4.1.0
Deprecatedn/a
do_action( "customize_preview_{$this->type}", $this )
Parameters:
  • () setting 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->type`, refers to the setting type.




Source

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