| 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 in processing.', 'learnpress' ); |
| 24 |
|
| 25 |
$this->default_subject = __( 'Your order placed on {{order_date}}', '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 |
} |
| 34 |
|