BUDDYBOSS WEB

Your community, courses and memberships on your own website.

BUDDYBOSS APP

Your own branded app on iOS and Android.

DONE FOR YOU

We build, launch and run it for you.

BuddyBoss website and mobile app

Web + App Done For You

$4,999 flat

Web Scale + Done For You Web

App Launch + Done For You App

PRICING

Web Pricing

Launch, Scale and Done For You Web.

From

$199

first year

App Pricing

Solo, Launch and Done For You App.

From

$499

first year

SITE + APP

Web + App Done For You

Your site and your app, built and run for you.

$4,999

flat, never rises

How to Disable the Group Tab in the User Profile for Logged-out Users

Updated

Introduction

The Groups tab in a BuddyBoss user profile is visible to all visitors, including logged-out users. If you want to limit profile navigation and prevent logged-out users from accessing the Groups tab, you can do so by adding a small custom function to your active theme. This tutorial walks you through how to disable the Group tab in the user profile for logged-out users.

Custom Workaround

Note: Any modifications are considered custom work. Please review the BuddyBoss Support Policy before proceeding.

Before proceeding, make sure you have a complete site backup.

  1. Go to Appearance > Theme Editor in your WordPress admin dashboard.
  2. Under Select theme to edit, choose your active theme (preferably BuddyBoss Child Theme), then click Select.
  3. From the Theme Files list, click Theme Functions (functions.php).
  4. Paste the following code just before the closing PHP tag (?>):
function bb_remove_groups_tab_for_visitors() {
    if ( is_user_logged_in() ) {
        return;
    }
    bp_core_remove_nav_item( 'groups' );
}
add_action( 'bp_ready', 'bb_remove_groups_tab_for_visitors' );
  1. Click Update File to save your changes.

Once applied, the Groups tab will no longer appear in user profiles when viewed by logged-out visitors.

Screenshots

Logged in:

Logged out:

Note: Modifications are typically considered custom work, but we are making an exception in this case. Please review the BuddyBoss Support Policy.

Troubleshooting and FAQs

Q: The Groups tab is still visible for logged-out users.
A: Make sure the code is added to the active theme’s functions.php file and clear any site or browser cache. Also confirm that no other custom code or plugin is re-adding the Groups tab.

Q: Will this hide the Groups tab for logged-in users as well?
A: No. Logged-in users will continue to see the Groups tab normally.

Q: Does this prevent logged-out users from accessing groups entirely?
A: No. This only removes the Groups tab from the user profile navigation. Group visibility still depends on your site’s privacy and access settings.

Q: How can I revert this change?
A: Simply remove the added code from functions.php and save the file.

Was this article helpful?

Subscribe to Our Newsletter

This field is for validation purposes and should be left unchanged.
This field is hidden when viewing the form

Can’t find the answer you’re looking for?

Our support team is here to help with anything the docs don’t cover.