Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,910
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,184
-
@notpoppy – For this line:
`if ( groups_get_groupmeta( $bp->groups->current_group->id, ‘settings_complete’ ) )`
You could probably change that to do your check against group ID
eg.
`if ( bp_get_group_id() == MY_GROUP_ID )
return true;
elseif ( bp_get_group_id() == ANOTHER_GROUP_ID )
return true;
else
return false;
`
etc.
If you want to do your check by group name, try using `bp_get_group_name()` in place of `bp_get_group_id()`.
This is untested, but hopefully this gives you a few ideas to work with.