How to Add Page Comments to Activity Stream
-
WP 3.5 BP 1.6.3
Since using latest BP/WP versions I’ve lost most of the comments I used to have appearing in the BP activity stream. I’m told that ‘ By default, BP only records post comments into the activity stream.’. I originally thought this was a bug!! As it certainly is to myself and opened trac ticket 4784. http://buddypress.trac.wordpress.org/ticket/4784
So, is there a code snippet that can be used to do this? I’ve tried the suggestion someone gave on ticket 4784 (thanks r-a-y:
function bp_ticket_4784_record_custom_comment_post_types($cpts) {
$cpts[] = ‘page’;return $cpts;
}
add_filter( ‘bp_blogs_record_comment_post_types’, ‘bp_ticket_4784_record_custom_comment_post_types’ );but this didn’t work.
You must be logged in to reply to this topic.