Disable Automatic Emails from Order Status doesn't work
-
Hello,
I need to disable the automatic emails from order status.
I read the documentation here https://www.jigoshop.com/documentation/disable-automatic-emails-order-status-updates/I added this in my theme functions.php
remove_action(‘order_status_pending_to_processing’, ‘jigoshop_new_order_notification’); remove_action(‘order_status_pending_to_completed’, ‘jigoshop_new_order_notification’); remove_action(‘order_status_pending_to_on-hold’, ‘jigoshop_new_order_notification’); remove_action(‘order_status_pending_to_processing’, ‘jigoshop_processing_order_customer_notification’); remove_action(‘order_status_pending_to_on-hold’, ‘jigoshop_processing_order_customer_notification’); remove_action(‘order_status_completed’, ‘jigoshop_completed_order_customer_notification’); remove_action(‘order_status_refunded’, ‘jigoshop_refunded_order_customer_notification’);I tested and I’m still getting emails when I edit the status of an order. I don’t understand what could go wrong, could you help me?
Thanks
The topic ‘Disable Automatic Emails from Order Status doesn't work’ is closed to new replies.