Skip to:
Content
Pages
Categories
Search
Top
Bottom

Get the current user group for condition

  • Profile photo of Miatsu
    Miatsu
    Participant

    @miatsu

    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.
Skip to toolbar