plain
4 months ago
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
26 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 printf( esc_html__( 'Hi %s,', 'commercebird' ), $user->first_name ); ?></p> |
| 17 | <p><?php esc_html_e( 'Your account is approved and you are now able to purchase.', 'commercebird' ); ?></p> |
| 18 | <p><?php printf( esc_html__( 'You can now start purchasing and access your account area at: %s', 'commercebird' ), make_clickable( esc_url( wc_get_page_permalink( 'myaccount' ) ) ) ); ?></p> |
| 19 | |
| 20 | <?php |
| 21 | if ( $additional_content ) { |
| 22 | echo wp_kses_post( wpautop( wptexturize( $additional_content ) ) ); |
| 23 | } |
| 24 | ?> |
| 25 | |
| 26 | <?php do_action( 'woocommerce_email_footer', $email ); ?> |