apply_filters( 'wpmu_drop_tables', string[] $tables, int $site_id )

Filters the tables to drop when the site is deleted.

Parameters

$tables

(string[]) Array of names of the site tables to be dropped.

$site_id

(int) The ID of the site to drop tables for.

Source

File: wp-includes/ms-site.php

View on Trac

Changelog

Version Description
MU (3.0.0) Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wpmu_drop_tables