Reply To: Random User when /Members is loaded?
@espellcaste @danbp
That worked well!!! *thank you – thank you*
I also added the code below to display 50 users – is there a way to combine them or factor it down?
function more_users( $args ) {
if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
return $args;
}
$args['per_page'] = '50';
return (array) $args;
}
add_filter( 'bp_after_has_members_parse_args', 'more_users', 10 );
?>