I'm building a city portal/ social business directory with buddypress and wordpress. All business listings are stored as a custom post type called 'business'. I'm using the following code to show the activity related to business listings in the activity stream
function bbg_record_my_custom_post_type_comments( $post_types ) {
$post_types[] = 'business';
return $post_types;
}
add_filter( 'bp_blogs_record_comment_post_types', 'bbg_record_my_custom_post_type_comments' );
this is the result http://i.stack.imgur.com/Poaay.png
Right now it says
user commented on the post 'postname'
While I need it to say
user wrote a review on 'postname'
for the business post type, and
user commented on 'postname'
for other post types.
Any help is greatly appreciated.