Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: ’BP_Group_Extension’ not found when using Group Extension API in bp-custom.php

@r-a-y

Keymaster

@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.

Skip to toolbar