Filters the value of an existing option.
The dynamic portion of the hook name, $option, refers to the option name.
$valuemixed
$optionstring
This hook allows you to filter any option after database lookup.
return apply_filters( "option_{$option}", maybe_unserialize( $value ), $option );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/option_option