← All changes
|
inc/emails/instructor/class-lp-email-instructor-accepted.php
+39
-39
4.3.9
→
4.4.9
View file →
| @@ -1,39 +1,39 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Class LP_Email_Instructor_Accepted | |
| 4 | - * | |
| 5 | - * @author ThimPress | |
| 6 | - * @package LearnPress/Classes | |
| 7 | - * @version 3.0.1 | |
| 8 | - * @editor tungnx | |
| 9 | - * @modify 4.1.3 | |
| 10 | - */ | |
| 11 | - | |
| 12 | -/** | |
| 13 | - * Prevent loading this file directly | |
| 14 | - */ | |
| 15 | -defined( 'ABSPATH' ) || exit(); | |
| 16 | - | |
| 17 | -if ( ! class_exists( 'LP_Email_Instructor_Accepted' ) ) { | |
| 18 | - /** | |
| 19 | - * Class LP_Email_Instructor_Accepted | |
| 20 | - */ | |
| 21 | - class LP_Email_Instructor_Accepted extends LP_Email_Type_Become_An_Instructor { | |
| 22 | - | |
| 23 | - /** | |
| 24 | - * LP_Email_Instructor_Accepted constructor. | |
| 25 | - */ | |
| 26 | - public function __construct() { | |
| 27 | - $this->id = 'instructor-accepted'; | |
| 28 | - $this->title = __( 'Accepted', 'learnpress' ); | |
| 29 | - $this->description = __( 'Your email requesting to become an instructor has been accepted.', 'learnpress' ); | |
| 30 | - | |
| 31 | - $this->default_subject = __( '[{{site_title}}] Your request to become an instructor has been accepted', 'learnpress' ); | |
| 32 | - $this->default_heading = __( 'Your email requesting to become an instructor has been accepted.', 'learnpress' ); | |
| 33 | - | |
| 34 | - parent::__construct(); | |
| 35 | - } | |
| 36 | - } | |
| 37 | -} | |
| 38 | - | |
| 39 | -return new LP_Email_Instructor_Accepted(); | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Class LP_Email_Instructor_Accepted | |
| 4 | + * | |
| 5 | + * @author ThimPress | |
| 6 | + * @package LearnPress/Classes | |
| 7 | + * @version 3.0.1 | |
| 8 | + * @editor tungnx | |
| 9 | + * @modify 4.1.3 | |
| 10 | + */ | |
| 11 | + | |
| 12 | +/** | |
| 13 | + * Prevent loading this file directly | |
| 14 | + */ | |
| 15 | +defined( 'ABSPATH' ) || exit(); | |
| 16 | + | |
| 17 | +if ( ! class_exists( 'LP_Email_Instructor_Accepted' ) ) { | |
| 18 | + /** | |
| 19 | + * Class LP_Email_Instructor_Accepted | |
| 20 | + */ | |
| 21 | + class LP_Email_Instructor_Accepted extends LP_Email_Type_Become_An_Instructor { | |
| 22 | + | |
| 23 | + /** | |
| 24 | + * LP_Email_Instructor_Accepted constructor. | |
| 25 | + */ | |
| 26 | + public function __construct() { | |
| 27 | + $this->id = 'instructor-accepted'; | |
| 28 | + $this->title = __( 'Accepted', 'learnpress' ); | |
| 29 | + $this->description = __( 'Your email requesting to become an instructor has been accepted.', 'learnpress' ); | |
| 30 | + | |
| 31 | + $this->default_subject = __( '[{{site_title}}] Your request to become an instructor has been accepted', 'learnpress' ); | |
| 32 | + $this->default_heading = __( 'Your email requesting to become an instructor has been accepted.', 'learnpress' ); | |
| 33 | + | |
| 34 | + parent::__construct(); | |
| 35 | + } | |
| 36 | + } | |
| 37 | +} | |
| 38 | + | |
| 39 | +return new LP_Email_Instructor_Accepted(); | |