Created
May 28, 2018 09:44
-
-
Save svenl77/04eaab8f0f1e83132be058dcd125d469 to your computer and use it in GitHub Desktop.
buddyforms_wp_insert_user_activation_mail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'buddyforms_wp_insert_user_activation_mail', 'my_buddyforms_wp_insert_user_activation_mail', $sent, $user_id ); | |
function my_buddyforms_wp_insert_user_activation_mail(){ | |
// | |
// use the $user_id to perform any custom action | |
// | |
// return false to not sent the activation mail | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment