Preventing certain activity types from saving to the database

New Avatar

remove_action( 'xprofile_avatar_uploaded', 'bp_xprofile_new_avatar_activity' );

Updated Profile

remove_action( 'xprofile_updated_profile', 'bp_xprofile_updated_profile_activity', 10, 5 );

Friendship Created

remove_action( 'friends_friendship_accepted', 'bp_friends_friendship_accepted_activity', 10, 4 );

New user registered

remove_action( 'bp_core_activated_user', 'bp_core_new_user_activity' );

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.