1. 首页
  2. WordPress钩子手册

clean_network_cache

do_action( ‘clean_network_cache’, int $id )

操作挂钩:从对象缓存中删除网络后立即激发。
Action Hook: Fires immediately after a network has been removed from the object cache.

目录锚点:#参数#源码


参数(Parameters)

参数 类型 说明
$id (int) 网络ID。

源码(Source)


更新版本 源码位置 使用 被使用
4.6.0 wp-includes/ms-network.php:95 1 0

clean_network_cache 为WP2原创文章,链接:https://www.wp2.cn/hook/clean_network_cache/