Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Trying to show only (s2member) Level2 and Level3 members on my membership page

@henrywright

Moderator

Hi @christoph744

I’m sure there is a way to filter the members loop via BuddyPress but if you want a WordPress approach then check out the WP_User_Query class. Assuming that s2member uses custom fields to distinguish members (I may be wrong on that) you’d want to look at using the Custom Field Parameters

Ref: https://codex.wordpress.org/Class_Reference/WP_User_Query

Skip to toolbar