I’m working on a search form which filters the users . Everything works but the result is always limited to 299 users.
Here is my code which is vers basic :
$args = array( 'orderby' => 'ID', 'meta_query' => $query_array, ); $user_query = new WP_User_Query($args);
If i add
'number' => 999999,
$args = array( 'number' => 999999, 'orderby' => 'ID', 'meta_query' => $query_array, );
It doesn’t work, i’m still limited to 299
If i had
'number' => 150,
It works, the number of result is limited to 150.
I don’t see anything related to this limit in the codex : https://codex.wordpress.org/Class_Reference/WP_User_Query
Maybe, the issue is not directly related to WP_User_Query but i need to be sure that there is not a limit established by WP_User_Query.