Reply To: How to disable all members activity feed and hide site/activity/feed page
Try this to remove ALL activity feeds
function bpfr_hide_rss_feeds() {
remove_action( 'bp_actions', 'bp_activity_action_sitewide_feed' );
remove_action( 'bp_actions', 'bp_activity_action_personal_feed' );
remove_action( 'bp_actions', 'bp_activity_action_friends_feed' );
remove_action( 'bp_actions', 'bp_activity_action_my_groups_feed' );
remove_action( 'bp_actions', 'bp_activity_action_mentions_feed' );
remove_action( 'bp_actions', 'bp_activity_action_favorites_feed' );
remove_action( 'groups_action_group_feed', 'groups_action_group_feed' );
}
add_action('init', 'bpfr_hide_rss_feeds');
This snippet will only show logged in users friends activities (on all activity pages of the site)
function bpfr_filtering_activity( $retval ) {
$retval['scope'] = 'friends';
return $retval;
}
add_filter( 'bp_after_has_activities_parse_args', 'bpfr_filtering_activity' );
Add to bp-custom.php or child-theme functions.php
More details about this on Codex