wphooks.info - deleted_blog

deleted_blog

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-admin/includes/ms.php:
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
	}

	/**
	 * 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.
 *
 * @since 3.0.0