wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



option_{$option} › Hooks de Filtros WordPress

Desde4.4.0
Obsoleton/a
apply_filters( "option_{$option}", maybe_unserialize( $value )
Parâmetros: (2)
  • (mixed) $value Value of the option. If stored serialized, it will be unserialized prior to being returned.
    Required: Yes
  • (string) $option Option name.
    Required: Yes
Definido em:
Codex:

Filters the value of an existing option.

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





Fonte

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