wphooks.info - deleted_blog

deleted_blog

(trunk - 5.0-alpha-42719)

The hook occurs in the following file:

wp-admin/includes/ms.php:
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
	}

	/**
	 * Fires after the site is deleted from the network.
	 *
	 * @since 4.8.0
	 *
	 * @param int  $blog_id The site ID.
	 * @param bool $drop    True if site's tables should be dropped. Default is false.
	 */
	do_action( 'deleted_blog', $blog_id, $drop );

	if ( $switch ) {
		restore_current_blog();
	}
}

/**
 * Delete a user from the network and remove from all sites.
 *