WordPress at a glance
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.

Usage

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

Список изменений

С версии 3.0.0 Введена.
С версии 4.4.0 The $option parameter was added.
С версии 4.7.0 The $network_id parameter was added.

Где вызывается хук

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

Где используется хук в ядре WordPress

Использование не найдено.