Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,541
- How-to & Troubleshooting
- 127,775
- Creating & Extending
- 25,647
- Requests & Feedback
- 9,391
- Third Party Plugins
- 9,713
- Showcase
- 3,317
- Ideas
- 1,329
- Miscellaneous
- 8,842
-
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.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS