Warning: This hook has been deprecated.
deleted_blog WordPress Hook
The deleted_blog hook is called whenever a blog is deleted from a WordPress installation. It is useful for performing any actions that need to be taken when a blog is deleted, such as cleaning up any associated data.
do_action_deprecated( 'deleted_blog', int $site_id , bool $drop ) #
Fires after the site is deleted from the network.
Parameters
- $site_id
(int)The site ID.
- $drop
(bool)True if site's tables should be dropped. Default false.
Source
File: wp-includes/ms-site.php
Changelog
Version | Description |
---|---|
5.1.0 | This hook has been deprecated. |
4.8.0 | Introduced. |