<?php
/**
 * Waitlist emails plain template.
 *
 * @package XTS
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

echo esc_html( wp_strip_all_tags( $email_heading ) ) . "\n\n";

echo esc_html(
	sprintf(
		// translators: %s User name.
		__(
			'Hi, %s!',
			'xts-theme'
		),
		$email->user_name
	)
) . "\n";
echo esc_html__( "We confirm that you have been added to the waitlist for the following item:\n", 'xts-theme' );
echo esc_html( $email->object->get_name() ) . ' ' . wp_kses( $email->product_price, true ) . ' ' . esc_url( $email->object->get_permalink() ) . "\n";
echo esc_html__( "Stay tuned because we'll notify you when the product is available.\n", 'xts-theme' );
echo esc_html__( "Best regards,\n", 'xts-theme' );
echo esc_html( $email->get_blogname() ) . "\n";

echo "\n----------------------------------------\n\n";

echo esc_html( __( 'If you don\'t want to receive any further notification, please follow this link', 'xts-theme' ) . ' ' . $unsubscribe_link );

echo "\n----------------------------------------\n\n";

echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
