Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Filtering the Activity Stream


dpolant
Participant

@dpolant

The simplest way, which might disable some things you don’t want disabled, is to turn off blog tracking in the wp-admin -> buddypress -> component setup.

To just get rid of blog posts in the activity feed, you need to remove some actions. Try this:

remove_action( 'save_post', 'bp_blogs_record_post', 10, 2);

Remember this needs to go in a plugin or in bp-custom.php. There are other blog related activity things too like comments and new blog creations. You can get rid of these with similar syntax – just look through bp-blogs.php and find the lines that say “add_action” and have a record function in quotes.

Skip to toolbar