WordPress at a glance
action is not described

delete_site_option action-hook . WP 3.0.0

Fires after a network option has been deleted.


add_action( 'delete_site_option', 'action_function_name_3231', 10, 2 );
function action_function_name_3231( $option, $network_id ){
	// action...
Name of the network option.
ID of the network.


  • Since 4.7.0 The $network_id parameter was added.

Where the hook is called

wp-includes/option.php 1483
do_action( 'delete_site_option', $option, $network_id );

Where the hook is used (in WP core)

Does not used.