WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about add_site_option_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/option.php do_action 1624 /**
* Fires after a specific network option has been successfully added.
*
* The dynamic portion of the hook name, `$option`, refers to the option name.
*
* @since 2.9.0 As "add_site_option_{$key}"
* @since 3.0.0
* @since 4.7.0 The `$network_id` parameter was added.
*
* @param string $option Name of the network option.
* @param mixed $value Value of the network option.
* @param int $network_id ID of the network.
*/

Hook Parameters

Parameter Type Name Description
string $option Name of the network option.
mixed $value Value of the network option.
int $network_id ID of the network.