On this page
do_action_deprecated( 'delete_blog', int $site_id, bool $drop )
This hook has been deprecated.
Fires before a site is deleted.
Parameters
$site_idint-
The site ID.
$dropbool-
True if site's table should be dropped. Default false.
Source
File: wp-includes/ms-site.php. View all references
do_action_deprecated( 'delete_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
| Version | Description |
|---|---|
| 5.1.0 | This hook has been deprecated. |
| MU (3.0.0) | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/delete_blog