Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save svenl77/04eaab8f0f1e83132be058dcd125d469 to your computer and use it in GitHub Desktop.
Save svenl77/04eaab8f0f1e83132be058dcd125d469 to your computer and use it in GitHub Desktop.
buddyforms_wp_insert_user_activation_mail
<?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