A WordPress-centric search engine for devs and theme authors



enable_live_network_counts ›

Since3.7.0
Deprecatedn/a
apply_filters( 'enable_live_network_counts', $is_small_network, 'sites' )
Parameters: (2)
  • (bool) $small_network Whether the network is considered small.
    Required: Yes
  • (string) $context Context. Either 'users' or 'sites'.
    Required: Yes
See:
  • wp_is_large_network()
Defined at:
Codex:

Filters whether to update network site or user counts when a new site is created.





Source

if ( ! apply_filters( 'enable_live_network_counts', $is_small_network, 'sites' ) ) {