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



wp_is_large_user_count › WordPress过滤钩子

Since6.0.0
已弃用n/a
apply_filters( 'wp_is_large_user_count', $count > 10000, $count, $network_id )
参数: (3)
  • (bool) $is_large_user_count Whether the site has a large number of users.
    Required: Yes
  • (int) $count The total number of users.
    Required: Yes
  • (int|null) $network_id ID of the network. `null` represents the current network.
    Required: Yes
定义在:
文档:

Filters whether the site is considered large, based on its number of users.





源码

return apply_filters( 'wp_is_large_user_count', $count > 10000, $count, $network_id );