Remove EMT Instructions on Processing Emails
-
Hi,
I was trying to update your plugin to not include the EMT payment instructions on the order processing email sent to customers.
When I try to update this section:
public function email_instructions( $order, $sent_to_admin, $plain_text = false ) {
if ( $this->instructions && ! $sent_to_admin && ’emt’ === $order->get_payment_method() &&
( $order->has_status(‘on-hold’) || $order->has_status(‘processing’) || $order->has_status(‘pending’) ) ) {
echo wpautop( wptexturize( $this->get_instructions( $order ) ) ) . PHP_EOL;
}When I remove status order->has_status(‘processing’), the EMT instructions are no longer included inall customer emails. Could you provide some guidance on how to remove from these emails?
- The topic ‘Remove EMT Instructions on Processing Emails’ is closed to new replies.