apply_filters( 'found_users_query', string $sql, WP_User_Query $query )
Filters SELECT FOUND_ROWS() query for the current WP_User_Query instance.
Parameters
- $sql
-
(string) The SELECT FOUND_ROWS() query for the current WP_User_Query.
- $query
-
(WP_User_Query) The current WP_User_Query instance.
Source
Changelog
Version | Description |
---|---|
5.1.0 | Added the $this parameter. |
3.2.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/found_users_query