@lancewillett
Active 2 months ago
-
Lance Willett posted on the forum topic Sort by Role in the group How-To and Troubleshooting: 14 years, 5 months ago
Why not just use a group for this? There isn’t a way to do this in BuddyPress without writing your own code to do it. You could use WP_User_Search to look up users, it is defined in
/wp-admin/includes/user.php
starting near line 637. Here’s an example from http://www.clarksonenergyhomes.com/wordpress/2009/03/16/wp-get-users-by-role-function/…[Read more] -
Lance Willett joined the group How-To and Troubleshooting 14 years, 5 months ago