wpseek.com
WordPress开发者和主题制作者的搜索引擎



wpmu_drop_tables › WordPress过滤钩子

SinceMU (3.0.0)
已弃用n/a
apply_filters( 'wpmu_drop_tables', $tables, $site->id )
参数: (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
定义在:
文档:

Filters the tables to drop when the site is deleted.





源码

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