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



customize_value_{$id_base} › WordPress过滤钩子

Since4.6.0
已弃用n/a
› apply_filters( "customize_value_{$id_base}", $value, $this )
参数: (2)
  • () default_value The setting default value. Default empty.
    Required: Yes
  • () setting The setting instance.
    Required: Yes
定义在:
文档:

Filters a Customize setting value not handled as a theme_mod or option.

The dynamic portion of the hook name, `$id_base`, refers to the base slug of the setting name, initialized from `$this->id_data['base']`. For settings handled as theme_mods or options, see those corresponding functions for available hooks.




源码

$value = apply_filters( "customize_value_{$id_base}", $value, $this );