| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Class LP_Settings_New_Order_Emails |
| 5 |
*/ |
| 6 |
class LP_Settings_New_Order_Emails extends LP_Settings_Emails_Group { |
| 7 |
|
| 8 |
/** |
| 9 |
* LP_Settings_New_Order_Emails constructor. |
| 10 |
*/ |
| 11 |
public function __construct() { |
| 12 |
$this->group_id = 'new-order-emails'; |
| 13 |
$this->items = array( |
| 14 |
'new-order-admin', |
| 15 |
'new-order-instructor', |
| 16 |
'new-order-user', |
| 17 |
'new-order-guest', |
| 18 |
); |
| 19 |
|
| 20 |
parent::__construct(); |
| 21 |
} |
| 22 |
|
| 23 |
public function __toString() { |
| 24 |
return esc_html__( 'New Order', 'learnpress' ); |
| 25 |
} |
| 26 |
} |
| 27 |
|
| 28 |
return new LP_Settings_New_Order_Emails(); |
| 29 |
|