WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about default_site_option_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/option.php apply_filters 1462 /**
* Filters the value of a specific default network option.
*
* The dynamic portion of the hook name, `$option`, refers to the option name.
*
* @since 3.4.0
* @since 4.4.0 The `$option` parameter was added.
* @since 4.7.0 The `$network_id` parameter was added.
*
* @param mixed $default The value to return if the site option does not exist
* in the database.
* @param string $option Option name.
* @param int $network_id ID of the network.
*/
wp-includes/option.php apply_filters 1467 /**
* Filters the value of a specific default network option.
*
* The dynamic portion of the hook name, `$option`, refers to the option name.
*
* @since 3.4.0
* @since 4.4.0 The `$option` parameter was added.
* @since 4.7.0 The `$network_id` parameter was added.
*
* @param mixed $default The value to return if the site option does not exist
* in the database.
* @param string $option Option name.
* @param int $network_id ID of the network.
*/
wp-includes/option.php apply_filters 1490 /**
* Filters the value of a specific default network option.
*
* The dynamic portion of the hook name, `$option`, refers to the option name.
*
* @since 3.4.0
* @since 4.4.0 The `$option` parameter was added.
* @since 4.7.0 The `$network_id` parameter was added.
*
* @param mixed $default The value to return if the site option does not exist
* in the database.
* @param string $option Option name.
* @param int $network_id ID of the network.
*/

Hook Parameters

Parameter Type Name Description
mixed $default The value to return if the site option does not exist
string $option Option name.
int $network_id ID of the network.
mixed $default The value to return if the site option does not exist
string $option Option name.
int $network_id ID of the network.
mixed $default The value to return if the site option does not exist
string $option Option name.
int $network_id ID of the network.