Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing Actions from Activity Stream with Filtering Options?


  • truelux
    Participant

    @truelux

    I have the following code in my functions.php file

    add_filter( 'bp_after_has_activities_parse_args', function( $retval ) {
       $retval['action'] = array(
            'activity_update',
            'activity_comment',
    		'friendship_created',
    		'rtmedia_update',
    		'new_member',
    		'created_group',
    		'joined_group',
        );
        return $retval;
    } );

    It works great… BUT when I try to filter the buddypress stream everything appears. There is no filtering ability. Is this the right function to use?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar