Filters the value of a specific default network option.
Description
The dynamic portion of the hook name, $option
, refers to the option name.
Parameters
$default_value
mixed- The value to return if the site option does not exist in the database.
$option
string- Option name.
$network_id
int- ID of the network.
Source
return apply_filters( "default_site_option_{$option}", $default_value, $option, $network_id );
Using this filter will prevent you from creating or updating an option. This is likely a bug on WordPress.
If you want to be able to save your option but still want to use the default for when it doesn’t exist yet, then you must remove the filter before updating the option.