public function __construct() { parent::__construct(); $this->id = 'customer_order_confirmation'; $this->title = __('Order Confirmation', 'woocommerce-germanized-pro'); $this->description = __('This email will confirm an order to a customer. Will not be sent automatically. Will be sent after confirming the order.', 'woocommerce-germanized-pro'); // Remove default actions remove_action('woocommerce_order_status_pending_to_processing_notification', array($this, 'trigger')); remove_action('woocommerce_order_status_pending_to_on-hold_notification', array($this, 'trigger')); }
/** * Constructor */ function __construct() { parent::__construct(); $this->title = __('Order Processing', 'woocommerce-germanized-pro'); $this->template_html = 'emails/customer-processing-order-pre.php'; $this->template_plain = 'emails/plain/customer-processing-order-pre.php'; // Remove default actions remove_action('woocommerce_order_status_pending_to_processing_notification', array($this, 'trigger')); remove_action('woocommerce_order_status_pending_to_on-hold_notification', array($this, 'trigger')); }