Created
September 4, 2017 01:37
-
-
Save rahularyan/54b98ad12c88c2f89854c21363509e97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Thsi query will order users by reputation by default. | |
$user_args = array( | |
'ap_query' => true, | |
'role__not_in' => [ 'administrator', 'ap_moderator' ], | |
'number' => $number, | |
); | |
$ap_user_query = get_users( $user_args ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment