| Server IP : 94.177.215.211 / Your IP : 216.73.216.172 Web Server : nginx/1.26.0 System : Linux mtncompany-wp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : root ( 0) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source,eval MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/sites/morsiesorsi/wp-content/themes/woodmart/woocommerce/emails/plain/ |
Upload File : |
<?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__( 'Products on your wishlist are on sale!', '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' ) ) );