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



customize_update_{$this->type} › WordPress动作钩子

Since3.4.0
已弃用n/a
› do_action( "customize_update_{$this->type}", $value, $this )
参数: (2)
  • () value Value of the setting.
    Required: Yes
  • () setting WP_Customize_Setting instance.
    Required: Yes
定义在:
文档:

Fires when the WP_Customize_Setting::update() method is called for settings not handled as theme_mods or options.

The dynamic portion of the hook name, `$this->type`, refers to the type of setting.




源码

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