Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Template Tag “is_user_in_group()” ???


techguy
Participant

@crashutah

Since you saved me the time looking for this, I’ll throw in the other 2 I already knew:
groups_is_user_mod( $bp->loggedin_user->id, $bp->groups->current_group->id)
groups_is_user_admin( $bp->loggedin_user->id, $bp->groups->current_group->id)

Plus, that’s the code to get the logged in userid and current groupid.

Skip to toolbar