Skip to:
Content
Pages
Categories
Search
Top
Bottom

Limit ALL activity streams to ONLY member updates


  • iwishiknew
    Participant

    @iwishiknew

    I have been searching literally everywhere for this… I have the activity stream on multiple pages and I just want to make it so that no matter where the activity stream is, the only thing that will be shown is member updates.

    There has got to be a way to do this but nothing I have read is straightforward on this.

    Any help GREATLY appreciated! 🙂

Viewing 1 replies (of 1 total)

  • iwishiknew
    Participant

    @iwishiknew

    I figured it out. This will help everyone who has this question:

    function omni_filter_activity( $retval ) {
        $retval['action'] = 'activity_update'; // change scope per action
        return $retval;
    } add_filter( 'bp_after_has_activities_parse_args', 'omni_filter_activity' );
Viewing 1 replies (of 1 total)
  • The topic ‘Limit ALL activity streams to ONLY member updates’ is closed to new replies.
Skip to toolbar