wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



option_{$option} › WordPress Filter Hooks

Seit4.4.0
Veraltetn/v
apply_filters( "option_{$option}", maybe_unserialize( $value )
Parameter: (2)
  • () value Value of the option. If stored serialized, it will be unserialized prior to being returned.
    Erforderlich: Ja
  • () option Option name.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the value of an existing option.

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




Quellcode

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