customize_post_value_set_{$setting_id}
do_action( “customize_post_value_set_{$setting_id}”, mixed $value , WP_Customize_Manager $this )
动作钩子::当设置了一个特定设置的未初始化post值时,通知。
Action Hook: Announce when a specific setting’s unsanitized post value has been set.
说明(Description)
调用WP_Customize_Manager::set_post_value()方法时激发。
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$value | (mixed) | 未初始化的设置post值。 |
$this | (WP_Customize_Manager) | WP_自定义管理器实例。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.4.0 | wp-includes/class-wp-customize-manager.php:1858 | 1 | 0 |
customize_post_value_set_{$setting_id} 为WP2原创文章,链接:https://www.wp2.cn/hook/customize_post_value_set_setting_id/