Disable certain types from Activity Stream
i want to prevent ‘updated_profile’ and ‘new_member’ activity types, to appear in Activity Stream.
Searching in the core of Buddypress i figured out that removing the following hooks, would do the job:
remove_action( 'xprofile_updated_profile', 'bp_xprofile_updated_profile_activity'); remove_action( 'bp_core_activated_user', 'bp_core_new_user_activity' );
Is there any drawback, missing point or some hidden effect with these methods?
thank you in advance.
- You must be logged in to reply to this topic.