Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable BP RSS feeds


  • kevinbrands
    Participant

    @kevinbrands

    Hello,

    I came across a thread here, that should have a solution (https://pastebin.com/zaiGH4Dr) for disabling the BP RSS feeds:

    
    function cherrypick_custom_bp_remove_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('bp_actions', 'groups_action_group_feed');
    }
    add_action('init', 'cherrypick_custom_bp_remove_feeds');
    

    When I place this code (in my functions.php or bp-custom.php), it doesn’t remove the rss.

    Were there any changes lately that make this solution not work anymore?

Viewing 1 replies (of 1 total)

  • kevinbrands
    Participant

    @kevinbrands

    I’ve checked if this could be because of a plugin or theme conflict. But even with a clean install and the TwentyTwenty theme, it still doesn’t work.

    Removing the feeds like this would be the best way in my opinion.

    Is there any way to update/change this code so it works?

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