Filter hook 'found_users_query'

in WP Core File wp-includes/class-wp-user-query.php at line 859

Description

Filters SELECT FOUND_ROWS() query for the current WP_User_Query instance.

Occurrences

Filename Line Number
wp-includes/class-wp-user-query.php 859

Parameters

Type Name Description
string $sql The SELECT FOUND_ROWS() query for the current WP_User_Query.
WP_User_Query $query The current WP_User_Query instance.

PHP Doc

/**
					 * Filters SELECT FOUND_ROWS() query for the current WP_User_Query instance.
					 *
					 * @since 3.2.0
					 * @since 5.1.0 Added the `$this` parameter.
					 *
					 * @global wpdb $wpdb WordPress database abstraction object.
					 *
					 * @param string        $sql   The SELECT FOUND_ROWS() query for the current WP_User_Query.
					 * @param WP_User_Query $query The current WP_User_Query instance.
					 */