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.
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.