Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.142.156.141
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : back-in-stock.php
<?php
/**
 * Customer "back in stock" email
 *
 * @package XTS
 */

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

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

echo esc_html(
	sprintf(
		// translators: %s User login.
		__(
			'Hi, %s!',
			'woodmart'
		),
		$email->user->user_login
	)
) . '\n';

echo esc_html__( 'The product on your wishlist is back in stock!', 'woodmart' ) . "\n\n";

if ( $product_lists ) {
	echo "------------------------------------------\n\n";

	foreach ( $product_lists as $product ) {
		echo esc_html( wp_strip_all_tags( sprintf( '%1$s (%2$s) [%3$s]', $product->get_title(), wc_price( $product->get_price() ), $product->get_permalink() ) ) ) . "\n";
	}

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

echo esc_html__( 'We only have limited stock, so don\'t wait any longer, and take this chance to make it yours!', 'woodmart' );

echo "\n\n****************************************************\n\n";

echo esc_html( __( 'If you don\'t want to receive any further notification, please follow this link', 'woodmart' ) . ' ' . woodmart_get_unsubscribe_link( $email->user->ID ) );

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

echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
© 2025 GrazzMean-Shell