Introduction
By default, BuddyBoss does not include a built-in option to remove the Members tab from a group’s navigation menu. If you want to remove the Members menu in a group, you can achieve this by adding a custom function to your theme.
Custom Workaround
- Go to Appearance > Theme Editor in your WordPress admin dashboard.
- Under Select theme to edit, choose your active theme (preferably a BuddyBoss Child Theme), then click Select.
- From the Theme Files list, click Theme Functions (functions.php).
- Paste the following code just before the closing PHP tag (?>):
function bb_remove_groups_members_menu_item() {
if ( bp_is_group() ) {
global $bp;
bp_core_remove_subnav_item(
$bp->groups->current_group->slug,
'members',
'groups'
);
}
}
add_action( 'bp_setup_nav', 'bb_remove_groups_members_menu_item', 10 );- Click Update File to save your changes.
Once saved, the Members tab will no longer appear in the group navigation.
Troubleshooting and FAQs
Q: The Members tab is still visible in groups.
A: Ensure the code is added to the active theme’s functions.php file and that you are using the correct (child) theme.
Q: Does this remove the Members tab from all groups?
A: Yes. This snippet removes the Members menu item globally for all groups.
Q: Will this affect group permissions or member access?
A: No. This only hides the navigation tab. Group membership and permissions remain unchanged.
Q: Can I restore the Members tab later?
A: Yes. Simply remove the code from functions.php and save the file.
Q: Who can I contact for further assistance?
A: Please review the BuddyBoss Support Policy or consult a qualified developer for additional customization needs.