customer-onquote-order.php
4 months ago
customer-quoted-order.php
4 months ago
customer-status-notification.php
4 months ago
index.php
4 months ago
new-quote.php
4 months ago
customer-status-notification.php
29 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Customer approval notification |
| 4 | * |
| 5 | * @version 3.0.6 |
| 6 | */ |
| 7 | |
| 8 | defined( 'ABSPATH' ) || exit; |
| 9 | |
| 10 | $user = get_userdata( $user_id ); |
| 11 | |
| 12 | echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n"; |
| 13 | echo esc_html( wp_strip_all_tags( $email_heading ) ); |
| 14 | echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n"; |
| 15 | |
| 16 | echo sprintf( esc_html__( 'Hi %s,', 'commercebird' ), esc_html( $user->first_name ) ) . "\n\n"; |
| 17 | |
| 18 | echo esc_html__( 'Your account is approved and you are now able to purchase.', 'commercebird' ) . "\r\n"; |
| 19 | echo sprintf( esc_html__( 'You can now start purchasing and access your account area at: %s', 'commercebird' ), esc_html( wc_get_page_permalink( 'myaccount' ) ) ) . "\n\n"; |
| 20 | |
| 21 | echo "\n\n----------------------------------------\n\n"; |
| 22 | |
| 23 | if ( $additional_content ) { |
| 24 | echo esc_html( wp_strip_all_tags( wptexturize( $additional_content ) ) ); |
| 25 | echo "\n\n----------------------------------------\n\n"; |
| 26 | } |
| 27 | |
| 28 | echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) ); |
| 29 |