swissChili | f0cbdc3 | 2023-01-05 17:21:38 -0500 | [diff] [blame] | 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | exit; // Exit if accessed directly |
| 4 | } |
| 5 | |
| 6 | echo $email_heading . "\n\n"; |
| 7 | |
| 8 | printf( |
| 9 | // translators: 1) is a link to the payment re-authentication URL. |
| 10 | __( 'Your pre-order is now available, but payment cannot be completed automatically. Please complete the payment now: %1$s', 'woocommerce-gateway-stripe' ), |
| 11 | $authorization_url |
| 12 | ); |
| 13 | |
| 14 | if ( $email->get_custom_message() ) : |
| 15 | |
| 16 | echo "----------\n\n"; |
| 17 | echo wptexturize( $email->get_custom_message() ) . "\n\n"; |
| 18 | echo "----------\n\n"; |
| 19 | |
| 20 | endif; |
| 21 | |
| 22 | |
| 23 | echo "\n\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n"; |
| 24 | |
| 25 | do_action( 'woocommerce_subscriptions_email_order_details', $order, $sent_to_admin, $plain_text, $email ); |
| 26 | |
| 27 | echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n"; |
| 28 | |
| 29 | echo apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ); |