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
30 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 | do_action( 'woocommerce_email_header', $email_heading, $email ); |
| 13 | |
| 14 | ?> |
| 15 | |
| 16 | <p><?php |
| 17 | /* translators: %s: Customer first name */ |
| 18 | printf( esc_html__( 'Hi %s,', 'commercebird' ), esc_html( $user->first_name ) ); ?></p> |
| 19 | <p><?php esc_html_e( 'Your account is approved and you are now able to purchase.', 'commercebird' ); ?></p> |
| 20 | <p><?php |
| 21 | /* translators: %s: My account page URL */ |
| 22 | printf( esc_html__( 'You can now start purchasing and access your account area at: %s', 'commercebird' ), wp_kses_post( make_clickable( esc_url( wc_get_page_permalink( 'myaccount' ) ) ) ) ); ?></p> |
| 23 | |
| 24 | <?php |
| 25 | if ( $additional_content ) { |
| 26 | echo wp_kses_post( wpautop( wptexturize( $additional_content ) ) ); |
| 27 | } |
| 28 | ?> |
| 29 | |
| 30 | <?php do_action( 'woocommerce_email_footer', $email ); ?> |