Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Excluding blog post comments from activity stream page?


pollycoke :)
Participant

@pollycoke

Here’s how: in your /plugins/ directory, create a file called bp-custom.php with this content:

<?php

function bp_remove_comment_ac() { remove_action( ‘comment_post’, ‘bp_blogs_record_comment’, 10, 2 ); } add_action( ‘bp_init’, ‘bp_remove_comment_ac’ );

?>

It works on blog comments posted after you do this.

Many thanks to apeatling for the solution!

Skip to toolbar