A WordPress-centric search engine for devs and theme authors



wp_is_large_network ›

Since4.8.0
Deprecatedn/a
apply_filters( 'wp_is_large_network', $count > 10000, 'users', $count, $network_id )
Parameters: (4)
  • (bool) $is_large_network Whether the network has more than 10000 users or sites.
    Required: Yes
  • (string) $component The component to count. Accepts 'users', or 'sites'.
    Required: Yes
  • (int) $count The count of items for the component.
    Required: Yes
  • (int) $network_id The ID of the network being checked.
    Required: Yes
Defined at:
Codex:

Filters whether the network is considered large.





Source

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