Free Classified Site - Bedpage

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

About: Prem Tiwari

Prem Tiwari is the founder of 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: , , , , , , ,

Recommended Tutorials

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.