Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,027
- How-to & Troubleshooting
- 129,663
- Creating & Extending
- 25,794
- Requests & Feedback
- 9,497
- Third Party Plugins
- 9,793
- Showcase
- 3,316
- Ideas
- 1,374
- Miscellaneous
- 9,181
-
Depending on the context you’re using this in, this might not work correctly but try:
bp_get_group_id()
or:
global $bp;
$bp->groups->current_group->id;