How to Remove Activity Tab From User Profile in BuddyPress

Prem Tiwari - - BuddyPress, Code Snippets


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.

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

after remove the activity tabs


Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer and a blogger by hobby.

Tags: , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.