WordPress at a glance
action is not described

delete_blog action-hook . WP 3.0.0

Deprecated in from version 5.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this hook with the same one.

Deprecated: 5.1.0

Fires before a site is deleted.

Usage

add_action( 'delete_blog', 'action_function_name_4530', 10, 2 );
function action_function_name_4530( $site_id, $drop ){
	// action...
}
$site_id(int)
The site ID.
$drop(true/false)
True if site's table should be dropped.
Default: false

Changelog

Since 3.0.0 Introduced.
Deprecated 5.1.0

Where the hook is called

wp_delete_site()
delete_blog
wpmu_delete_blog()
delete_blog
wp-includes/ms-site.php 250
do_action_deprecated( 'delete_blog', array( $old_site->id, true ), '5.1.0' );
wp-admin/includes/ms.php 100
do_action_deprecated( 'delete_blog', array( $blog_id, false ), '5.1.0' );

Where in WP core the hook is used WordPress

Usage not found.