[Resolved] Add second role to exclusion from members-loop.php?
I followed your awesome tutorial here: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/excluding-roles-from-the-member-loop/
I was able to keep subscribers out, but I am using Woocommerce which also adds a “customer” role. I can’t seem to exclude that. Is this possible or am I not doing it right? I added it like this…
if ( $user->roles != 'subscriber,customer' ) : ?>
- The topic ‘[Resolved] Add second role to exclusion from members-loop.php?’ is closed to new replies.