default_option_$option – filter
Filters the default value for an option. The dynamic portion of the hook name, `$option`, refers to the option name.
Parameters
- .
- ( 3.4.0 ) . .
- The
- ( 4.4.0 ) `$option` parameter was added. . . .
- The
- ( 4.7.0 ) `$passed_default` parameter was added to distinguish between a `false` value and the default parameter value. . . .
- ( mixed ) $default The default value to return if the option does not exist in the database. . . .
- $option
- ( string ) Option name. . . .
- ( bool ) $passed_default Was `get_option()` passed a default value? . . .