Warning: This hook has been deprecated.
delete_blog WordPress Hook
The delete_blog hook is called whenever a blog is deleted. It allows for custom cleanup or other actions to be performed when a blog is deleted.
do_action_deprecated( 'delete_blog', int $site_id , bool $drop ) #
Fires before a site is deleted.
Parameters
- $site_id
(int)The site ID.
- $drop
(bool)True if site's table should be dropped. Default false.
Source
File: wp-includes/ms-site.php
Changelog
Version | Description |
---|---|
5.1.0 | This hook has been deprecated. |
MU (3.0.0) | Introduced. |