More BuddyPress Conditional Tags

Today I needed to create a BuddyPress conditional statement but none of the “normal” conditional tags suited my needs. Specifically, I needed to determine whether or not a user was a group moderator or admin role. The boolean that helps determine that can be found on the BuddyPress Function Reference page.

There is lots of neat stuff there.

Also on a somewhat related note, check out this list of BuddyPress global variables. You never know when you might need to display a BuddyPress user’s info within a conditional! 🙂

Posted in

Toby Cryns

Toby Cryns is a freelance CTO, expert WordPress consultant, and teacher.

He offers free advice to improve your freelance biz.

He also publishes small droppings every now and then to and

Follow Toby's contributions on Github and