wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



customize_value_{$id_base} › Les Filtres WordPress

Depuis4.6.0
Dépréciéen/a
› apply_filters( "customize_value_{$id_base}", $value, $this )
Paramètres: (2)
  • () default_value The setting default value. Default empty.
    Requis: Oui
  • () setting The setting instance.
    Requis: Oui
Défini(e) dans:
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 );