Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_blogs_record_post_post_types


  • pavoljurik
    Participant

    @pavoljurik

    Hi,

    after upgrading to BP 2.5.0 comments button on activity stream items disappeared.

    I added custom post types to activity stream using bp_blogs_record_post_post_types like this:
    add_filter ( ‘bp_blogs_record_post_post_types’, ‘activity_publish_custom_post_types’,1,1 );

    function activity_publish_custom_post_types( $post_types ) {
    $post_types[] = ‘activity’;
    $post_types[] = ‘area’;
    return $post_types;
    }

    when I remove it, comments button appears again under each item on activity stream.

    Could this be a BP bug or I am doing something wrong?
    Thanks!

  • You must be logged in to reply to this topic.
Skip to toolbar