| Server IP : 62.60.133.156 / Your IP : 216.73.217.51 Web Server : LiteSpeed System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : mimradmin ( 1166) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mimradmin/public_html/wp-content/themes/woodmart/woocommerce/emails/plain/ |
Upload File : |
<?php
/**
* Customer "back in stock" email
*
* @package woodmart
*/
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' ) ) );