PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.10
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.10
4.4.10 4.4.9.1 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 All 142 releases
← All changes | inc/emails/student/class-lp-email-cancelled-order-user.php +37 -37 4.3.9 → 4.4.10 View file →
@@ -1,37 +1,37 @@
1 -<?php
2 -/**
3 - * LP_Email_Cancelled_Order_User.
4 - *
5 - * @author ThimPress
6 - * @package Learnpress/Classes
7 - * @extends LP_Email_Type_Order
8 - * @version 3.0.0
9 - * @editor tungnx
10 - * @modify 4.1.3
11 - */
12 -
13 -/**
14 - * Prevent loading this file directly
15 - */
16 -defined( 'ABSPATH' ) || exit();
17 -
18 -if ( ! class_exists( 'LP_Email_Cancelled_Order_User' ) ) {
19 - class LP_Email_Cancelled_Order_User extends LP_Email_Type_Order_Student {
20 - /**
21 - * LP_Email_Cancelled_Order_User constructor.
22 - */
23 - public function __construct() {
24 - $this->id = 'cancelled-order-user';
25 - $this->title = __( 'User', 'learnpress' );
26 - $this->description = __( 'Send an email to the user when the order has been cancelled.', 'learnpress' );
27 -
28 - $this->default_subject = __( 'Your order on {{order_date}} has been cancelled', 'learnpress' );
29 - $this->default_heading = __( 'Your order has been cancelled', 'learnpress' );
30 -
31 - parent::__construct();
32 - }
33 - }
34 -
35 - return new LP_Email_Cancelled_Order_User();
36 -}
37 -
1 +<?php
2 +/**
3 + * LP_Email_Cancelled_Order_User.
4 + *
5 + * @author ThimPress
6 + * @package Learnpress/Classes
7 + * @extends LP_Email_Type_Order
8 + * @version 3.0.0
9 + * @editor tungnx
10 + * @modify 4.1.3
11 + */
12 +
13 +/**
14 + * Prevent loading this file directly
15 + */
16 +defined( 'ABSPATH' ) || exit();
17 +
18 +if ( ! class_exists( 'LP_Email_Cancelled_Order_User' ) ) {
19 + class LP_Email_Cancelled_Order_User extends LP_Email_Type_Order_Student {
20 + /**
21 + * LP_Email_Cancelled_Order_User constructor.
22 + */
23 + public function __construct() {
24 + $this->id = 'cancelled-order-user';
25 + $this->title = __( 'User', 'learnpress' );
26 + $this->description = __( 'Send an email to the user when the order has been cancelled.', 'learnpress' );
27 +
28 + $this->default_subject = __( 'Your order on {{order_date}} has been cancelled', 'learnpress' );
29 + $this->default_heading = __( 'Your order has been cancelled', 'learnpress' );
30 +
31 + parent::__construct();
32 + }
33 + }
34 +
35 + return new LP_Email_Cancelled_Order_User();
36 +}
37 +