wpseek.com
WordPress开发者和主题制作者的搜索引擎



customize_preview_{$this->id} › WordPress动作钩子

Since3.4.0
已弃用n/a
› do_action( "customize_preview_{$this->id}", $this )
参数:
  • () setting WP_Customize_Setting instance.
    Required: Yes
定义在:
文档:

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.




源码

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