• Resolved mar-deleon


    When someone logs in via social media for the first time, Instead of “Send post-registration email to user to set account password” I want to show the woocommerce welcome email (I have attached an important document there). Any ideas how to change this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can anyone help me? I tried to add this code on my functions.php but it’s not working?

    add_filter(‘heateor_ss_new_user_notification’, ‘custom_send_wc_email’, 10, 2);
    function custom_send_wc_email( $userId ) {
    $wc = new WC_Email_Customer_New_Account();
    $wc->trigger( $userId );

    Plugin Contributor Heateor Support


    Hi there,

    Our plugin uses WordPress’ default function wp_new_user_notification to send welcome email containing link to set password. You can re-define this function according to your needs as explained in more detail at following link:

    Is it possible to remove the hook that sends default user notification and attach another?
    I’ve succeeded to attach with the below code in functions.php:

    add_action('the_champ_before_registration', 'social_login_new_user_notification', 9, 1);
     * Send new user notification email
    function social_login_new_user_notification($userId){
        wp_new_user_notification($userId, null, 'user');

    But failed to remove with the below code in functions.php:

    function remove_user_notif_on_social_login() {
        remove_action('the_champ_before_registration', 'heateor_ss_disable_social_registration', 10, 1);
    add_action( 'init', 'remove_user_notif_on_social_login',10);
    • This reply was modified 1 year, 6 months ago by  warrior7089.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change welcome/post-registration email’ is closed to new replies.