Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Best way to add custom posts to activity stream

@henrywright

Moderator
function leanneoleary_custom_post_types( $post_types ) {
    $post_types[] = 'files';
    return $post_types;
}
add_filter ( 'bp_blogs_record_post_post_types', 'leanneoleary_custom_post_types' );

If your custom post type is files, then just try that? You’ll need to ensure the Site tracking component is enabled via WP admin.

Skip to toolbar