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

In this article

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

$drop_tables = apply_filters( 'wpmu_drop_tables', $tables, $site->id );

Changelog

VersionDescription
MU (3.0.0)Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.