Used By
Used By | Description |
---|---|
wp-includes/user.php: count_users() | Count number of users who have each of the user roles. |
Filter the user count before queries are run. Return a non-null value to cause count_users() to return early.
(null|string) The value to return instead. Default null to continue with the query.
(string) The computational strategy to use when counting the users. Accepts either 'time' or 'memory'. Default 'time'.
(int|null) The site ID to count users for. Defaults to the current site.
File: wp-includes/user.php
Version | Description |
---|---|
5.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_count_users