Filters the default value for an option.
The dynamic portion of the hook name, $option, refers to the option name.
$default_valuemixed
$optionstring
$passed_defaultbool
get_option() passed a default value?return apply_filters( "default_option_{$option}", $default_value, $option, $passed_default );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/default_option_option