PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.5
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.5
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 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
learnpress / inc / emails / student / class-lp-email-refunded-order-user.php

class-lp-email-refunded-order-user.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.5, at inc/emails/student/class-lp-email-refunded-order-user.php

29 lines 874 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * LP_Email_Refunded_Order_User.
4 *
5 * @package Learnpress/Classes
6 */
7 defined( 'ABSPATH' ) || exit();
8
9 if ( ! class_exists( 'LP_Email_Refunded_Order_User' ) ) {
10 class LP_Email_Refunded_Order_User extends LP_Email_Type_Order_Student {
11 /**
12 * LP_Email_Refunded_Order_User constructor.
13 */
14 public function __construct() {
15 $this->id = 'refunded-order-user';
16 $this->title = __( 'User', 'learnpress' );
17 $this->description = __( 'Send an email to the user when the order has been refunded.', 'learnpress' );
18
19 $this->default_subject = __( 'Your order on {{order_date}} has been refunded', 'learnpress' );
20 $this->default_heading = __( 'Your order has been refunded', 'learnpress' );
21 $this->template_html = 'emails/refund/refunded-order-user.php';
22
23 parent::__construct();
24 }
25 }
26
27 return new LP_Email_Refunded_Order_User();
28 }
29