Member list conditional

I created a member list but some members do not want to get listed so I added “Consent” field to the form and I only want to display members who consent=“yes”
How do I do that with short codes?

Hi Sinan.

Take a look at the attributes for the s2Member-List shortcode: https://s2member.com/kb-article/s2member-list-shortcode-documentation/#toc-2891d26f

You can use exclude with a list of user IDs. Or limit the list by user role, level, custom capability, or a search.

I hope that helps. :slight_smile: