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.
Open the functions.php file and add the following snippet at the end of the file.
//Remove groups tab from profile
After adding the above code the Group tabs will be removed, see the below screenshot.
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. View all posts by Prem Tiwari