wp_is_large_user_count WordPress Filter Hook
The wp_is_large_user_count hook is a great way to check if a site has a large number of users. This can be useful for performance tuning or for security purposes.
apply_filters( 'wp_is_large_user_count', bool $is_large_user_count , int $count , int|null $network_id ) #
Filters whether the site is considered large, based on its number of users.
Parameters
- $is_large_user_count
(bool)Whether the site has a large number of users.
- $count
(int)The total number of users.
- $network_id
(int|null)ID of the network.
null
represents the current network.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |