Include payment express emails when resending failed payments orders.

This commit is contained in:
Austin Ginder 2018-06-12 15:25:30 -04:00
parent 2a7260606c
commit e23f8aba41

View file

@ -27,7 +27,7 @@ if ( ! defined( 'ABSPATH' ) ) {
*/
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>

<?php if ( $order->has_status( 'pending' ) ) : ?>
<?php if ( $order->has_status( 'pending' ) or $order->has_status( 'failed' ) ) : ?>
<p>
<?php
printf(