过滤在创建新站点时是更新网络站点还是用户计数。
原型
apply_filters( 'enable_live_network_counts', bool $small_network, string $context )
参数
$small_network
(bool)
网络是否被认为是小的。
$context
(string)
语境。 “用户”或“网站”。
源文件
路径:wp-includes/ms-functions.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/enable_live_network_counts/