Top Members widget
Hello, You can try this:
$user_args = array( 'ap_query' => true, 'role__not_in' => [ 'administrator', 'ap_moderator' ], 'number' => 20, ); $ap_user_query = get_users( $user_args );
chin commented on answer
Hello, You can try this:
$user_args = array( 'ap_query' => true, 'role__not_in' => [ 'administrator', 'ap_moderator' ], 'number' => 20, ); $ap_user_query = get_users( $user_args );
Thanks, Rahul. Is it possible to modify inside the Top Users widget file? Or copy to child theme to modify?