How to Modify/Change a Buddypress/WordPress Account Activation Process

You can add the bp_core_signup_send_activation_key filter to prevent the activation email being sent as follows add_filter(‘bp_core_signup_send_activation_key’, ‘my_bp_core_signup_send_activation_key’, 10, 5); function my_bp_core_signup_send_activation_key($send, $user_id, $user_email, $activation_key, $usermeta) { return false; }

Uninstall, Activate, Deactivate a plugin: typical features & how-to

There are three different hooks. They trigger in the following cases: Uninstall Deactivation Activation How-to trigger functions safely during the scenarios The following shows the right ways to safely hook callback functions that get triggered during the mentioned actions. As you could use this code in a plugin that uses plain functions, a class or … Read more