Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,887
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
Guess I can check if the current group ID corresponds with the group I am in.
<?php
// Let's say my group ID = 1
$exclude_admins_mods = (bp_get_group_id() == 1) ? 0 : 1;
if (bp_group_has_members(array('exclude_admins_mods'=> $exclude_admins_mods))) :
/* Member details */
endif;
?>