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

The SELECT FOUND_ROWS() query for the current WP_User_Query.

$query

The current WP_User_Query instance.


Source

File: wp-includes/class-wp-user-query.php

View on GitHub



Changelog

Changelog
Version Description
5.1.0 Added the $this parameter.
3.2.0 Introduced.