Disable bbPress Forum Actions BuddyPress Activity recording
If you are looking for a way to disable activity recording of various bbPress forum actions, there is no setting to allow it. There is a simple way to do it though.
You can put the following code in your bp-custom.php
1 2 3 4 5 | /** * Dummy class to disable bbPress forums activity recording. */ class BBP_BuddyPress_Activity { } |
and it will disable the BuddyPress Activity recording for various bbPress actions.
How it works:-
bbPress uses a class named "BBP_BuddyPress_Activity" for adding BuddyPress activity recording of various forum actions. If you declare it before bbPress declares it, bbPress won't redeclare it(it uses class_exists to check) and that way, our dummy class disables the bbPress to BuddyPress activity integration completely.