WordPress at a glance
action is not described

delete_site_option_(option) action-hook . WP 3.0.0

Fires after a specific network option has been deleted.

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


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

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

С версии 3.0.0 Введена.
С версии 2.9.0 As "delete_site_option_{$key}"
С версии 4.7.0 The $network_id parameter was added.

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

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

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

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