Hi there,
There isn’t any option for this in the plugin at the moment. You can refer to the thread https://wordpress.org/support/topic/send-woocommerce-new-account-email-after-new-user-logs-in-with-facebook/, if you are familiar with coding.
Will add an option in the plugin to control this behavior in upcoming releases.
Amazing, thanks! Will try to code it, but it would be great to have the feature. Thanks for the plugin btw.
By the way, we tried the thread you suggest, none of the code snippets work for us unfortunately…
Oh. Then I need to work on it and include this option in the upcoming releases of the plugin. Will keep you posted here.
If you still haven’t completed this yet.
function heateor_ss_new_user_notification($userId){
global $theChampLoginOptions;
$notificationType = '';
if(isset($theChampLoginOptions['password_email'])){
$notificationType = 'both';
}elseif(isset($theChampLoginOptions['new_user_admin_email'])){
$notificationType = 'admin';
}
if($notificationType){
if(class_exists('WC_Emails')) {
$wc_emails = WC_Emails::instance();
$wc_emails->customer_new_account($userId);
} else {
wp_new_user_notification($userId, null, $notificationType);
}
}
}
Here is my code that I’m using and actually works.
Previous Reply :
Is the option available already?
Where or how should I go around doing this?
-
This reply was modified 6 years, 9 months ago by
jakksteam. Reason: Adding my own code for sample on how it should be done
@jakksteam Sorry for the late reply. Thanks for the suggestion. Will include this in plugin in the next update. Till then you can replace existing “wp-content/plugins/super-socializer/inc/social_login.php” file with the one at following link:
https://gist.github.com/Heateor/0ce55d551da66ef8bc1d7042e588cbed
This has been fixed in version 7.12.33