How to Remove Activity Tab From User Profile in BuddyPress

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

before remove the activity tabs

How to Remove Activity Tab From User Profile in BuddyPress

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

If you don’t want to edit your functions.php file, then create a new file as bp-custom.php inside the /wp-content/plugins/ folder and add the above code.

BuddyPress custom plugin.png

 

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

after remove the activity tabs

Rename a menu/tabs

Use below code to rename the buddypress tab name.

Remove a menu item

Change menu order in groups

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.

Recommended Posts:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , , , , ,