Disable Blog Posts and new Blog Comments recording/tracking In the activity by BuddyPress

Thanks to @Frank for asking the question. If you are using BuddyPress with WordPress single user(Not wordpress multisite), there are no question to disable new Blog post recording/ new Blog Comments recording. In case of Multisite, you can disable it from from Component setup->Blog Tracking.

So, Here are the two ways, you can use to disable new blog posts recoring to activity an new blog comments recording to activity.

Approach 1:- Disable the blog component:-

By Putting the following line in bp-custom.php you can disable the blogs component completely and It will not record new posts/comments

Please note, the above code should be put in the bp-custom.php. The above code will disable the blog component for BuddyPress on Single User WordPress(On mutisite install you can make the same happen by going to Dashboard->BuddyPress->Component setup).

Second Approach:-

Now, The second approach applies to both single user as well as  Multisite WordPress Install. You can disable specific things, like disable comments recording or disable new blog post or disable the new blog creation recording to activity.

Here is the code

Please note the above code should be in your theme's functions.php and not in the bp-custom.php.

Hope it helps a few of you 🙂

Comments are closed.