How to Remove Groups Tab From User Profile in BuddyPress

Prem Tiwari - - BuddyPress, Code Snippets


In this tutorial, I will explain how to remove group tab from the user profile in BuddyPress. This is a simple and easy BuddyPress snippet which will remove the Group tabs from user’s profile page.

before remove the Groups tabs

How to Remove Groups Tab From User Profile in BuddyPress

Open the functions.php file and add the following snippet at the end of the file.

After adding the above code the Group tabs will be removed, see the below screenshot.

after remove the Groups tabs


About: Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


Tags: , , , , ,