Since I was using MiniOrange OTP plugin, new users don't get any welcome email from my site anymore. I asked the MiniOrange support about this but they haven't replied to me yet.
So can anyone help me? I need the welcome email sent to my users. What action/trigger/code that I need to send welcome email?
答案 0 :(得分:0)
原来我可以用这个
$wc_emails = new WC_Email_Customer_New_Account();
$wc_emails->trigger($new_customerID, '', false);
触发WooCommerce发送欢迎电子邮件。