apply_filters( 'wp_is_large_network', bool $is_large_network , string $component , int $count , int $network_id )
Filters whether the network is considered large.
Description Description
Parameters Parameters
- $is_large_network
-
(bool) Whether the network has more than 10000 users or sites.
- $component
-
(string) The component to count. Accepts 'users', or 'sites'.
- $count
-
(int) The count of items for the component.
- $network_id
-
(int) The ID of the network being checked.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.8.0 | The $network_id parameter has been added. |
3.3.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Whether the network has more than 5,000 users/sites instead of 10,000:
Source: https://generatewp.com/snippet/9XaNVan/