Filters the default value for an option.
Description
The dynamic portion of the hook name, $option
, refers to the option name.
Parameters
$default_value
mixed- The default value to return if the option does not exist in the database.
$option
string- Option name.
$passed_default
bool- Was
get_option()
passed a default value?
Source
return apply_filters( "default_option_{$option}", $default_value, $option, $passed_default );
User Contributed Notes
You must log in before being able to contribute a note or feedback.