deleted_blog
do_action_deprecated( ‘deleted_blog’, int $site_id , bool $drop )
操作挂钩(已弃用):从网络中删除站点后激发。
Action Hook (deprecated): Fires after the site is deleted from the network.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$site_id | (int) | 站点ID。 |
$drop | (bool) | 如果应删除站点的表,则为True。默认值为false。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
5.1.0 | wp-includes/ms-site.php:285 | 2 | 0 |
deleted_blog 为WP2原创文章,链接:https://www.wp2.cn/hook/deleted_blog/