wpseek.com
A WordPress-centric search engine for devs and theme authors



wpmu_drop_tables › WordPress Filter Hooks

SinceMU (3.0.0)
Deprecatedn/a
apply_filters( 'wpmu_drop_tables', $tables, $site->id )
Parameters: (2)
  • (string[]) $tables Array of names of the site tables to be dropped.
    Required: Yes
  • (int) $site_id The ID of the site to drop tables for.
    Required: Yes
Defined at:
Codex:

Filters the tables to drop when the site is deleted.





Source

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