WordPress at a glance
action is not described

delete_blog action-hook . WP MU

Fires before a site is deleted.

Usage

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

Notes

  • Since MU (3.0.0)

Where the hook is called

wpmu_delete_blog()
wp-admin/includes/ms.php 80
do_action( 'delete_blog', $blog_id, $drop );

Where the hook is used (in WP core)

Does not used.