On this page
apply_filters( 'wpmu_drop_tables', string[] $tables, int $site_id )
Filters the tables to drop when the site is deleted.
Parameters
$tablesstring[]-
Array of names of the site tables to be dropped.
$site_idint-
The ID of the site to drop tables for.
Source
File: wp-includes/ms-site.php. View all references
$drop_tables = apply_filters( 'wpmu_drop_tables', $tables, $site->id );
Related
Used By
| Used By | Description |
|---|---|
| wp_uninitialize_site() wp-includes/ms-site.php | Runs the uninitialization routine for a given site. |
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wpmu_drop_tables