WordPress at a glance
filter is not described

wpmu_drop_tables filter-hook . WP MU

Filters the tables to drop when the site is deleted.

Usage

add_filter( 'wpmu_drop_tables', 'filter_function_name_6939', 10, 2 );
function filter_function_name_6939( $tables, $site_id ){
	// filter...

	return $tables;
}
$tables(string[])
Array of names of the site tables to be dropped.
$site_id(int)
The ID of the site to drop tables for.

Notes

  • Since MU (3.0.0)

Where the hook is called

wp_uninitialize_site()
wpmu_drop_tables
wp-includes/ms-site.php 833
$drop_tables = apply_filters( 'wpmu_drop_tables', $tables, $site->id );

Where the hook is used (in WP core)

Does not used.