Send an Email notification to the admin for pending order status
-
Hi,
I would like to send an email when the email status is set to “waiting for payment”.
I tried to follow the following guide:
https://stackoverflow.com/questions/45375143/send-an-email-notification-to-the-admin-for-pending-order-status-in-woocommercebut the script hangs on this line.
$wc_email = WC()->mailer()->get_emails()[‘WC_Email_New_Order’];I have no error message on the log file so I don’t understand what I’m doing wrong.
you can help me?
thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Send an Email notification to the admin for pending order status’ is closed to new replies.