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 / CustomerApplicationRejectedEmail.php

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

32 lines 1.1 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 CustomerApplicationRejectedEmail extends AbstractApplicationEmail {
8
9 public function __construct() {
10 $this->id = 'tpt_wholesale_customer_rejected';
11 $this->title = __( 'Wholesale application rejected', 'tier-pricing-table' );
12 $this->description = __( 'Sent to the applicant when the application is rejected, with the reason if one was given.', 'tier-pricing-table' );
13 $this->template_html = 'emails/customer-application-rejected.php';
14 $this->template_plain = 'emails/plain/customer-application-rejected.php';
15 $this->customer_email = true;
16
17 parent::__construct();
18 }
19
20 protected function getTriggerAction(): string {
21 return 'tiered_pricing_table/wholesale/application_rejected';
22 }
23
24 public function get_default_subject() {
25 return __( 'About your wholesale application at {site_title}', 'tier-pricing-table' );
26 }
27
28 public function get_default_heading() {
29 return __( 'Your wholesale application', 'tier-pricing-table' );
30 }
31 }
32