get_billing_first_name() ) ) . "\n\n"; /* translators: %s: Order number */ echo sprintf( esc_html__( 'The payment deadline for order #%s has expired.', 'afridirect-payment' ), esc_html( $order->get_order_number() ) ) . "\n\n"; /** * Show order details. */ // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email ); echo "\n" . esc_html__( 'What should you do?', 'afridirect-payment' ) . "\n"; echo esc_html__( 'If you have already made the payment, please contact us immediately with your payment details so we can process your order.', 'afridirect-payment' ) . "\n\n"; echo esc_html__( 'If you have not yet made the payment, you may need to create a new order. Please visit our store to place a new order.', 'afridirect-payment' ) . "\n\n"; echo esc_html__( 'If you have any questions, please contact us:', 'afridirect-payment' ) . "\n"; echo esc_url( wc_get_page_permalink( 'contact' ) ?: 'mailto:' . get_option( 'admin_email' ) ) . "\n\n"; echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n"; /** * Email footer. */ // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound do_action( 'woocommerce_email_footer', $email );