SHARE
TWEET

r-a-y

a guest May 19th, 2010 1,728 Never
  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');
RAW Paste Data
Top