I love the plugin so far and really appreciate what you’re doing.
Rahul, I want to show top users based on reputation on my website but I did not find the right code on your website or in support section. For some reason I can’t change the design of my website so is it possible to have that functionality on cutom theme instead of Askbug theme.
Any help would be highly appreciated.
Thanks for your feedback, here is the code which will return an array of top users:
$user_args = array( 'ap_query' => true, 'role__not_in' => [ 'administrator', 'ap_moderator' ], 'number' => $number, ); $ap_user_query = get_users( $user_args );