How to include only one user role in the members directory?
I’m trying to make it so only one WP user role is shown in the Bp directory.
I could only find a code to exclude IDs but that would mean new roles, later on, would show. Any way to make it so only the one role is included (users might have multiple roles but so long as they have that one they show)?
- You must be logged in to reply to this topic.