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



option_{$option} › Les Filtres WordPress

Depuis4.4.0
Dépréciéen/a
apply_filters( "option_{$option}", maybe_unserialize( $value )
Paramètres: (2)
  • (mixed) $value Value of the option. If stored serialized, it will be unserialized prior to being returned.
    Requis: Oui
  • (string) $option Option name.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the value of an existing option.

The dynamic portion of the hook name, $option, refers to the option name.





Source

return apply_filters( "option_{$option}", maybe_unserialize( $value ), $option );