apply_filters( ‘found_users_query’, string $sql, WP_User_Query $query )

In this article

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

$found_users_query = apply_filters( 'found_users_query', 'SELECT FOUND_ROWS()', $this );

Changelog

VersionDescription
5.1.0Added the $this parameter.
3.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.