wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



option_{$option} › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
› apply_filters( "option_{$option}", maybe_unserialize( $value )
Parametry: (2)
  • () value Value of the option. If stored serialized, it will be unserialized prior to being returned.
    Wymagane: Tak
  • () option Option name.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the value of an existing option.

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




Źródło

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