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



customize_sanitize_js_{$this->id} › WordPress过滤钩子

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

Filters a Customize setting value for use in JavaScript.

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




源码

$value = apply_filters( "customize_sanitize_js_{$this->id}", $this->value(), $this );