wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



option_{$option} › WordPress Filter Hooks

Da4.4.0
Deprecaton/a
apply_filters( "option_{$option}", maybe_unserialize( $value )
Parametri: (2)
  • (mixed) $value Value of the option. If stored serialized, it will be unserialized prior to being returned.
    Richiesto:
  • (string) $option Option name.
    Richiesto:
Definito a:
Codex:

Filters the value of an existing option.

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





Sorgenti

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