← All changes
|
inc/emails/student/class-lp-email-processing-order-user.php
+33
-33
4.3.8
→
4.4.9
View file →
| @@ -1,33 +1,33 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * LP_Email_Processing_Order_User. | |
| 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_User' ) ) { | |
| 19 | - class LP_Email_Processing_Order_User extends LP_Email_Type_Order_Student { | |
| 20 | - public function __construct() { | |
| 21 | - $this->id = 'processing-order-user'; | |
| 22 | - $this->title = __( 'User', 'learnpress' ); | |
| 23 | - $this->description = __( 'Notify users when their course orders are being processed.', '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_User(); | |
| 33 | -} | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * LP_Email_Processing_Order_User. | |
| 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_User' ) ) { | |
| 19 | + class LP_Email_Processing_Order_User extends LP_Email_Type_Order_Student { | |
| 20 | + public function __construct() { | |
| 21 | + $this->id = 'processing-order-user'; | |
| 22 | + $this->title = __( 'User', 'learnpress' ); | |
| 23 | + $this->description = __( 'Notify users when their course orders are being processed.', '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_User(); | |
| 33 | +} | |