On this page
do_action_deprecated( 'deleted_blog', int $site_id, bool $drop )
This hook has been deprecated.
Fires after the site is deleted from the network.
Parameters
$site_idint-
The site ID.
$dropbool-
True if site's tables should be dropped. Default false.
Source
File: wp-includes/ms-site.php. View all references
do_action_deprecated( 'deleted_blog', array( $old_site->id, true ), '5.1.0' );
Related
Used By
| Used By | Description |
|---|---|
| wp_delete_site() wp-includes/ms-site.php | Deletes a site from the database. |
| wpmu_delete_blog() wp-admin/includes/ms.php | Delete a site. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/deleted_blog