<?php
/**
 * Customer account inactivity email (Plain text)
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/emails/plain/customer-account-inactivity.php
 *
 * @package Wuclean
 * @version 1.0.0
 */

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

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

if ( $additional_content ) {
	echo esc_html( wp_strip_all_tags( wptexturize( $additional_content ) ) ) . "\n\n";
}

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

// Get footer text safely - only access WooCommerce option after init to prevent early translation loading.
$pt_wuclean_email_footer_text = '';
if ( did_action( 'init' ) && class_exists( 'WooCommerce' ) ) {
	$pt_wuclean_email_footer_text = get_option( 'woocommerce_email_footer_text', '' );
}
echo esc_html( apply_filters( 'wuclean_woocommerce_email_footer_text', $pt_wuclean_email_footer_text ) );
