A WordPress-centric search engine for devs and theme authors



found_users_query ›

Since3.2.0
Deprecatedn/a
apply_filters( 'found_users_query', 'SELECT FOUND_ROWS()
Parameters:
  • (string) $sql The SELECT FOUND_ROWS() query for the current WP_User_Query.
    Required: Yes
Defined at:
Codex:

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





Source

$this->total_users = (int) $wpdb->get_var( apply_filters( 'found_users_query', 'SELECT FOUND_ROWS()' ) );