[Resolved] Add second role to exclusion from members-loop.php?
-
@perywinkle
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[0] != 'subscriber,customer' ) : ?>
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘[Resolved] Add second role to exclusion from members-loop.php?’ is closed to new replies.