On this page
apply_filters( "default_site_option_{$option}", mixed $default, string $option, int $network_id )
Filters the value of a specific default network option.
Description
The dynamic portion of the hook name, $option, refers to the option name.
Parameters
$defaultmixed-
The value to return if the site option does not exist in the database.
$optionstring-
Option name.
$network_idint-
ID of the network.
Source
File: wp-includes/option.php. View all references
return apply_filters( "default_site_option_{$option}", $default, $option, $network_id );
Related
Used By
| Used By | Description |
|---|---|
| get_network_option() wp-includes/option.php | Retrieves a network’s option value based on the option name. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/default_site_option_option