make_delete_blog
do_action( ‘make_delete_blog’, int $site_id )
操作挂钩:当“已删除”状态添加到站点时激发。
Action Hook: Fires when the ‘deleted’ status is added to a site.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$site_id | (int) | 站点ID。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.5.0 | wp-includes/ms-site.php:1240 | 1 | 0 |
make_delete_blog 为WP2原创文章,链接:https://www.wp2.cn/hook/make_delete_blog/