WordPress at Your Fingertips
action is not described

add_site_option_(option) action-hook . WP 3.0.0

Fires after a specific network option has been successfully added.

The dynamic portion of the hook name, $option, refers to the option name.


add_action( 'add_site_option_(option)', 'action_function_name_5438', 10, 3 );
function action_function_name_5438( $option, $value, $network_id ){
	// action...
Name of the network option.
Value of the network option.
ID of the network.


Since 2.9.0 As "add_site_option_{$key}"
Since 4.7.0 The $network_id parameter was added.

Where the hook is called

wp-includes/option.php 1583
do_action( "add_site_option_{$option}", $option, $value, $network_id );

Where in WP core the hook is used WordPress

wp-admin/includes/ms-admin-filters.php 43
add_action( 'add_site_option_new_admin_email', 'update_network_option_new_admin_email', 10, 2 );