Change "RtMedia Updates" text in activity filter dropdown


#1

Hello, in the drop down filter next to activity stream displays text as RtMedia Updates and I would like to change it to something unbranded like Media Updates.


#2

Hello @mayzfieldtv,

We hope you have followed the code mentioned here - https://rtmedia.io/docs/developers/adding-rtmedia-updates-activity-show-dropdown/ to list the rtMedia Updates.

Please, try changing the activity filter name ( rtMedia Updates) in the code with your required text ( Media Updates ) like this:

add_filter('bp_get_activity_show_filters_options', 'add_media_show_filter', 10, 2);

function add_media_show_filter( $filters, $context ){
    $filters['rtmedia_update'] = 'Media Updates';
    return $filters;
}

I hope this serves the purpose.

Thanks.


#3