WordPress at Your Fingertips
action is not described

pre_delete_site_option_(option) action-hook . WP 3.0.0

Fires immediately before a specific network option is deleted.

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


add_action( 'pre_delete_site_option_(option)', 'action_function_name_6254', 10, 2 );
function action_function_name_6254( $option, $network_id ){
	// action...
Option name.
ID of the network.


Since 4.4.0 The $option parameter was added.
Since 4.7.0 The $network_id parameter was added.

Where the hook is called

wp-includes/option.php 1642
do_action( "pre_delete_site_option_{$option}", $option, $network_id );

Where in WP core the hook is used WordPress

Usage not found.