Filters the user count before queries are run.
Return a non-null value to cause count_users() to return early.
$resultnull|array
$strategystring
'time' or 'memory'. Default 'time'.$site_idint
$pre = apply_filters( 'pre_count_users', null, $strategy, $site_id );
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_count_users