On this page
apply_filters( 'found_users_query', string $sql, WP_User_Query $query )
Filters SELECT FOUND_ROWS() query for the current WP_User_Query instance.
Parameters
$sqlstring-
The SELECT FOUND_ROWS() query for the current WP_User_Query.
$queryWP_User_Query-
The current WP_User_Query instance.
Source
File: wp-includes/class-wp-user-query.php. View all references
$found_users_query = apply_filters( 'found_users_query', 'SELECT FOUND_ROWS()', $this );
Related
Used By
| Used By | Description |
|---|---|
| WP_User_Query::query() wp-includes/class-wp-user-query.php | Executes the query, with the current variables. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/found_users_query