A WordPress-centric search engine for devs and theme authors



option_{$option} ›

Since4.4.0
Deprecatedn/a
apply_filters( "option_{$option}", maybe_unserialize( $value )
Parameters: (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
Defined at:
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 );