wpseek.com
A WordPress-centric search engine for devs and theme authors



customize_value_{$id_base} › WordPress Filter Hooks

Since4.6.0
Deprecatedn/a
apply_filters( "customize_value_{$id_base}", $value, $this )
Parameters: (2)
  • () default_value The setting default value. Default empty.
    Required: Yes
  • () setting The setting instance.
    Required: Yes
Defined at:
Codex:

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.




Source

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