Get the current user group for condition
-
Hello,
Iām actually using WordPress 3.9.1 and BuddyPress 2.0.1.
I would like to set a condition where : if current user is a member of the group X, then I display Y content. I would like to do this outside of the buddypress loop.
How can we know if the current user is in a group and in which group he is?
Thank you in advance !
Miatsu
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get the current user group for condition’ is closed to new replies.