@richard-b
Active 6 months, 1 week ago
-
Richard-B replied to the topic [Resolved] Remove Activity tab from Groups in the forum How-to & Troubleshooting 10 years, 4 months ago
Just had to do this on an installation, here is the code:
function bp_group_remove_tabs() {
[Read more]
global $bp;
if (isset($bp->groups->current_group->slug) && $bp->groups->current_group->slug == $bp->current_item)
{
// Duplicate the line below changing 'home' for each tab you wish to remove…