Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Remove items from the Activity Filter Menu

@pauldixonuk

Participant

Thanks @shanebp – is there any chance you (or anyone) could please provide a more specific example of how to remove Friendships & New Members from the menu?

I’ve looked over the link provided but I’ll be honest I’m struggling to make much sense of it. I tried adding the following to my functions.php as a starting point but I suspect I’m a long way off getting it to do what I want:

// define the bp_get_activity_show_filters_options callback 
function filter_bp_get_activity_show_filters_options( $filters, $context ) { 
    // make filter magic happen here... 
    return $filters; 
}; 

// remove the filter 
remove_filter( 'bp_get_activity_show_filters_options', 'filter_bp_get_activity_show_filters_options', 10, 2 ); 
Skip to toolbar