Sometimes you might need to change the member’s list in BuddyPress to display them by some other criteria. That might be something that can’t be done through classic filters and WordPress API. In this tutorial, I’ll show you how to change the SQL for the BuddyPress User Query to show only members with membership from MemberPress.
In a recent project, I had to create a custom BuddyPress member list. I had to display members by their membership. So, I wanted to write a simple tutorial in which I’ll show you how to display members by their roles. In this article, you’ll learn how to create a custom member tab and how to filter only the users we want.