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



customize_post_value_set_{$setting_id} › WordPress动作钩子

Since4.4.0
已弃用n/a
› do_action( "customize_post_value_set_{$setting_id}", $value, $this )
参数: (2)
  • () value Unsanitized setting post value.
    Required: Yes
  • () manager WP_Customize_Manager instance.
    Required: Yes
定义在:
文档:

Announces when a specific setting's unsanitized post value has been set.

Fires when the WP_Customize_Manager::set_post_value() method is called. The dynamic portion of the hook name, `$setting_id`, refers to the setting ID.




源码

do_action( "customize_post_value_set_{$setting_id}", $value, $this );