Send an Email notification to the admin for pending order status in WooCommerce
问题 In WooCommerce, when a customer goes to checkout from cart and submit the order, if the payment is not processed, the order is set to "pending" payment. The Admin doesn't received any email about. I would like to send an email to Admin for this kind of orders. How can I do it? 回答1: UPDATE 2 (Change from woocommerce_new_order to woocommerce_checkout_order_processed thanks to Céline Garel) This code will be fired in all possible cases when a new order get a pending status and will trigger