Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable activity RSS

  • @functionmunchkin

    Participant

    I can’t figure this one out. I’m disabling my network RSS feeds. Each plugin I tried mainly works, except the activity feed on my root blog still shows posts. Is there a way to disable the activity RSS? Hopefully if I can, it will allow the activity to still show within the site. Plugins tested: Buddypress private community, Private buddypress, Private wp suit, Private wp, Private wp 2, Private only, and Disable RSS. (wp 3.0.1+mu+bp)

    I’ve tried this code I got from http://buddypress.org/community/groups/creating-extending/forum/topic/disable-all-rss-feeds/ by putting it at the end in my ftp.
    function bp_remove_feeds() {
    remove_action( ‘wp’, ‘bp_activity_action_sitewide_feed’, 3 );
    remove_action( ‘wp’, ‘bp_activity_action_personal_feed’, 3 );
    remove_action( ‘wp’, ‘bp_activity_action_friends_feed’, 3 );
    remove_action( ‘wp’, ‘bp_activity_action_my_groups_feed’, 3 );
    remove_action( ‘wp’, ‘bp_activity_action_mentions_feed’, 3 );
    remove_action( ‘wp’, ‘bp_activity_action_favorites_feed’, 3 );
    remove_action( ‘wp’, ‘groups_action_group_feed’, 3 );
    }
    add_action(‘init’, ‘bp_remove_feeds’);

    No results. Also I tried putting it at the end of the functions php file in appearance>editor in the dashboard. Is there a specific place to put it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @djpaul

    Keymaster

    Try using ‘bp_include’ with add_action rather than ‘init’

    @functionmunchkin

    Participant

    This absolutely worked. Thank you much for all of your speedy responses.

    @marutim

    Participant

    @djpaul The above solution doesnt work for BP 1.6.1.. Do you have any other solution?

    Thanks in Advance

    @djpaul

    Keymaster

    Closing in favour of https://buddypress.org/support/topic/removing-global-rss-feed/: no need to have bumped both topics.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable activity RSS’ is closed to new replies.
Skip to toolbar