Viewing File: /home/rtsgrob/ww6/wp-content/plugins/woocommerce-payments/templates/emails/post-kyc-activation.php

<?php
/**
 * Post-KYC activation reminder email
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/emails/post-kyc-activation.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see https://woocommerce.com/document/template-structure/
 * @package WooCommerce\Payments\Templates\Emails
 * @version 10.8.0
 *
 * @var int      $stage
 * @var string   $email_heading
 * @var string   $additional_content
 * @var string   $cta_url
 * @var string   $cta_label
 * @var bool     $sent_to_admin
 * @var bool     $plain_text
 * @var WC_Email $email
 */

defined( 'ABSPATH' ) || exit;

$stage_copy = [
	7  => [
		'heading' => __( 'Your store is ready — let’s make your first sale', 'woocommerce-payments' ),
		'body'    => __( 'Your WooPayments account is approved and ready to accept payments. Now it’s about getting eyes on your store — share your link, tell your network, and make your first sale.', 'woocommerce-payments' ),
	],
	14 => [
		'heading' => __( 'Two weeks in — have you shared your store yet?', 'woocommerce-payments' ),
		'body'    => __( 'Your account is fully approved and accepting payments. Share your store with your first potential customers to get that first sale.', 'woocommerce-payments' ),
	],
	30 => [
		'heading' => __( 'Your payments are ready — your first sale can be too', 'woocommerce-payments' ),
		'body'    => __( 'Everything on the payments side is ready. The next step is getting your first customer through the door — share your store link and start spreading the word.', 'woocommerce-payments' ),
	],
];

$content = $stage_copy[ $stage ] ?? $stage_copy[7];

do_action( 'woocommerce_email_header', $content['heading'], $email ); ?>

<p><?php echo esc_html( $content['body'] ); ?></p>

<p style="text-align: center; margin: 24px 0;">
	<a href="<?php echo esc_url( $cta_url ); ?>" style="display: inline-block; padding: 12px 28px; background-color: #3858E9; color: #ffffff; text-decoration: none; border-radius: 4px; font-weight: 600;">
		<?php echo esc_html( $cta_label ); ?>
	</a>
</p>

<?php if ( $additional_content ) : ?>
	<?php echo wp_kses_post( wpautop( wptexturize( $additional_content ) ) ); ?>
<?php endif; ?>

<?php do_action( 'woocommerce_email_footer', $email ); ?>
Back to Directory File Manager