Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/ms.php | do_action_deprecated | 124 | /** * Delete a site. * * @since 3.0.0 * @since 5.1.0 Use wp_delete_site() internally to delete the site row from the database. * * @global wpdb $wpdb WordPress database abstraction object. * * @param int $blog_id Site ID. * @param bool $drop True if site's database tables should be dropped. Default false. */ |
wp-includes/ms-site.php | do_action_deprecated | 292 | /** * Fires after the site is deleted from the network. * * @since 4.8.0 * @deprecated 5.1.0 * * @param int $site_id The site ID. * @param bool $drop True if site's tables should be dropped. Default false. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $site_id | The site ID. |
bool | $drop | True if site's tables should be dropped. Default false. |