Admin New Order email
-
Hello,
I replied to this topic but it’s marked resolved so here goes.
I am trying to disable sending the new order email to our admins when marking an order as completed. It is very confusing to them to get the exact same email again.
I added this code in my functions file but it’s not doing anything. Can you please help me? Thanks!
remove_action( 'woocommerce_order_status_pending_to_completed_notification', array( $email_class->emails['WC_Email_New_Order'], 'trigger' ) );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Admin New Order email’ is closed to new replies.