← All changes
|
inc/emails/guest/class-lp-email-processing-order-guest.php
+35
-35
4.3.8
→
4.4.9
View file →
| @@ -1,35 +1,35 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * LP_Email_Processing_Order_Guest. | |
| 4 | - * | |
| 5 | - * @author ThimPress | |
| 6 | - * @package Learnpress/Classes | |
| 7 | - * @extends LP_Email_Type_Order | |
| 8 | - * @version 3.0.1 | |
| 9 | - * @editor tungnx | |
| 10 | - * @version 4.1.3 | |
| 11 | - */ | |
| 12 | - | |
| 13 | -/** | |
| 14 | - * Prevent loading this file directly | |
| 15 | - */ | |
| 16 | -defined( 'ABSPATH' ) || exit(); | |
| 17 | - | |
| 18 | -if ( ! class_exists( 'LP_Email_Processing_Order_Guest' ) ) { | |
| 19 | - class LP_Email_Processing_Order_Guest extends LP_Email_Type_Order_Guest { | |
| 20 | - public function __construct() { | |
| 21 | - $this->id = 'processing-order-guest'; | |
| 22 | - $this->title = __( 'Guest', 'learnpress' ); | |
| 23 | - $this->description = __( 'When the order is processed, send an email to the user who purchased the course as a guest.', 'learnpress' ); | |
| 24 | - | |
| 25 | - $this->default_subject = __( 'The order placed on {{order_date}} has been processing', 'learnpress' ); | |
| 26 | - $this->default_heading = __( 'Thank you for your order', 'learnpress' ); | |
| 27 | - | |
| 28 | - parent::__construct(); | |
| 29 | - } | |
| 30 | - } | |
| 31 | - | |
| 32 | - return new LP_Email_Processing_Order_Guest(); | |
| 33 | -} | |
| 34 | - | |
| 35 | - | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * LP_Email_Processing_Order_Guest. | |
| 4 | + * | |
| 5 | + * @author ThimPress | |
| 6 | + * @package Learnpress/Classes | |
| 7 | + * @extends LP_Email_Type_Order | |
| 8 | + * @version 3.0.1 | |
| 9 | + * @editor tungnx | |
| 10 | + * @version 4.1.3 | |
| 11 | + */ | |
| 12 | + | |
| 13 | +/** | |
| 14 | + * Prevent loading this file directly | |
| 15 | + */ | |
| 16 | +defined( 'ABSPATH' ) || exit(); | |
| 17 | + | |
| 18 | +if ( ! class_exists( 'LP_Email_Processing_Order_Guest' ) ) { | |
| 19 | + class LP_Email_Processing_Order_Guest extends LP_Email_Type_Order_Guest { | |
| 20 | + public function __construct() { | |
| 21 | + $this->id = 'processing-order-guest'; | |
| 22 | + $this->title = __( 'Guest', 'learnpress' ); | |
| 23 | + $this->description = __( 'When the order is processed, send an email to the user who purchased the course as a guest.', 'learnpress' ); | |
| 24 | + | |
| 25 | + $this->default_subject = __( 'The order placed on {{order_date}} has been processing', 'learnpress' ); | |
| 26 | + $this->default_heading = __( 'Thank you for your order', 'learnpress' ); | |
| 27 | + | |
| 28 | + parent::__construct(); | |
| 29 | + } | |
| 30 | + } | |
| 31 | + | |
| 32 | + return new LP_Email_Processing_Order_Guest(); | |
| 33 | +} | |
| 34 | + | |
| 35 | + | |