found_users_query

found_users_query

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('found_users_query') is found 1 times:

  • /wp-includes/class-wp-user-query.php line 859
    					 *
    					 * @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.
    					 */
    					$found_users_query = apply_filters( 'found_users_query', 'SELECT FOUND_ROWS()', $this );
    
    					$this->total_users = (int) $wpdb->get_var( $found_users_query );
    				}
    
    				if ( $qv['cache_results'] ) {
    					$cache_value = array(