This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

r-a-y

By: a guest on May 19th, 2010  |  syntax: PHP  |  size: 0.50 KB  |  views: 1,020  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. function bp_remove_feeds() {
  2.         remove_action( 'wp', 'bp_activity_action_sitewide_feed', 3 );
  3.         remove_action( 'wp', 'bp_activity_action_personal_feed', 3 );
  4.         remove_action( 'wp', 'bp_activity_action_friends_feed', 3 );
  5.         remove_action( 'wp', 'bp_activity_action_my_groups_feed', 3 );
  6.         remove_action( 'wp', 'bp_activity_action_mentions_feed', 3 );
  7.         remove_action( 'wp', 'bp_activity_action_favorites_feed', 3 );
  8.         remove_action( 'wp', 'groups_action_group_feed', 3 );
  9. }
  10. add_action('init', 'bp_remove_feeds');
clone this paste RAW Paste Data