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 / Emails / CustomerApplicationApprovedEmail.php

CustomerApplicationApprovedEmail.php in Tiered Pricing Table for WooCommerce 8.0.2, at src/Addons/NonLoggedInUsers/Wholesale/Emails/CustomerApplicationApprovedEmail.php

32 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php namespace TierPricingTable\Addons\NonLoggedInUsers\Wholesale\Emails;
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6
7 class CustomerApplicationApprovedEmail extends AbstractApplicationEmail {
8
9 public function __construct() {
10 $this->id = 'tpt_wholesale_customer_approved';
11 $this->title = __( 'Wholesale application approved', 'tier-pricing-table' );
12 $this->description = __( 'Sent to the applicant when the wholesale account is approved.', 'tier-pricing-table' );
13 $this->template_html = 'emails/customer-application-approved.php';
14 $this->template_plain = 'emails/plain/customer-application-approved.php';
15 $this->customer_email = true;
16
17 parent::__construct();
18 }
19
20 protected function getTriggerAction(): string {
21 return 'tiered_pricing_table/wholesale/application_approved';
22 }
23
24 public function get_default_subject() {
25 return __( 'Your wholesale account at {site_title} is approved', 'tier-pricing-table' );
26 }
27
28 public function get_default_heading() {
29 return __( 'Welcome aboard', 'tier-pricing-table' );
30 }
31 }
32