PluginProbe
Tiered Pricing Table for WooCommerce / 8.0.2
Tiered Pricing Table for WooCommerce v8.0.2
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
tier-pricing-table / src / Addons / NonLoggedInUsers / Wholesale / views / emails / plain / admin-new-application.php

admin-new-application.php in Tiered Pricing Table for WooCommerce 8.0.2, at src/Addons/NonLoggedInUsers/Wholesale/views/emails/plain/admin-new-application.php

37 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Admin e-mail: a new wholesale application. (plain text)
4 *
5 * Override it by copying this file to yourtheme/woocommerce/emails/plain/admin-new-application.php.
6 *
7 * @var \TierPricingTable\Addons\NonLoggedInUsers\Wholesale\Models\WholesaleApplication $application
8 * @var string $emailHeading
9 * @var bool $sent_to_admin
10 * @var bool $plain_text
11 * @var WC_Email $email
12 */
13
14 if ( ! defined( 'ABSPATH' ) ) {
15 exit;
16 }
17
18 echo '= ' . esc_html( wp_strip_all_tags( $emailHeading ) ) . " =\n\n";
19
20 echo esc_html__( 'A customer applied for a wholesale account. Review the application and approve or reject it.', 'tier-pricing-table' ) . "\n\n";
21
22 echo esc_html( wc_strtoupper( __( 'Application details', 'tier-pricing-table' ) ) ) . "\n\n";
23
24 foreach ( $application->getDetails() as $label => $value ) {
25 echo esc_html( $label ) . ': ' . esc_html( $value ) . "\n";
26 }
27
28 echo "\n";
29
30 echo esc_html__( 'Open the application:', 'tier-pricing-table' ) . ' ' . esc_url( $application->getAdminUrl() ) . "\n\n";
31
32 if ( $additionalContent = $email->get_additional_content() ) {
33 echo esc_html( wp_strip_all_tags( wptexturize( $additionalContent ) ) ) . "\n\n";
34 }
35
36 echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
37