<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * Plain Text Template: Email Verification
 *
 * Sent to the user to verify their email address during registration.
 *
 * @var string   $email_heading
 * @var string   $user_name
 * @var string   $verify_link
 * @var string   $site_title
 * @var bool     $sent_to_admin
 * @var bool     $plain_text
 * @var WC_Email $email
 */

echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n";
echo esc_html( wp_strip_all_tags( $email_heading ) );
echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";

/* Greeting */
printf(
	// translators: %s: User name.
	esc_html__( 'Hello %s,', 'gigneo' ),
	esc_html( $user_name )
);
echo "\n\n";

/* Introduction */
printf(
	// translators: %s: Site title.
	esc_html__( 'Thank you for registering with %s. To complete your registration, please verify your email address by visiting the link below.', 'gigneo' ),
	esc_html( $site_title )
);
echo "\n\n";

/* Verification link */
echo esc_html__( 'Verify email:', 'gigneo' ) . ' ' . esc_url( $verify_link );
echo "\n\n";

/* Disclaimer */
echo esc_html__( 'If you did not create an account, please disregard this email. No further action is required.', 'gigneo' );
echo "\n\n";


// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
do_action( 'woocommerce_email_footer', $email );
