Archived topic
Solution removing Activity RSS Feeds BuddyPress
2 replies · Started by Uwe Pfeifer on November 9, 2015
Hi!
I need a solution to remove all RSS feeds but the blog one off of BuddyPress. This includes removing links, and the actual feeds.
Can you help me?
Thanks, freaky.
I now have:
add_action( 'do_feed', 'fb_disable_feed', 1 );
add_action( 'do_feed_rdf', 'fb_disable_feed', 1 );
add_action( 'do_feed_rss', 'fb_disable_feed', 1 );
add_action( 'do_feed_rss2', 'fb_disable_feed', 1 );
add_action( 'do_feed_atom', 'fb_disable_feed', 1 );
add_action( 'bp_activity_sitewide_feed', 'fb_disable_feed', 1 );
add_action( 'bp_activity_personal_feed', 'fb_disable_feed', 1 );
add_action( 'bp_activity_friends_feed', 'fb_disable_feed', 1 );
add_action( 'bp_activity_my_groups_feed', 'fb_disable_feed', 1 );
add_action( 'bp_activity_mentions_feed', 'fb_disable_feed', 1 );
add_action( 'bp_activity_favorites_feed', 'fb_disable_feed', 1 );
add_action( 'groups_group_feed', 'fb_disable_feed', 1 );
function fb_disable_feed() {
wp_die( __( 'No feed available,please visit our homepage!' ) );
}
But it still displays the RSS links etc.?
Hi there,
This is probably a question you have to ask the BuddyPress devs - I don't have enough experience with it.
