← All changes
|
inc/emails/student/class-lp-email-finished-course-user.php
+37
-37
4.3.8
→
4.4.10
View file →
| @@ -1,37 +1,37 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * LP_Email_Finished_Course_User. | |
| 4 | - * | |
| 5 | - * @author ThimPress | |
| 6 | - * @package Learnpress/Classes | |
| 7 | - * @extends LP_Email | |
| 8 | - * @version 3.0.1 | |
| 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_Finished_Course_User' ) ) { | |
| 19 | - | |
| 20 | - /** | |
| 21 | - * Class LP_Email_Finished_Course_User | |
| 22 | - */ | |
| 23 | - class LP_Email_Finished_Course_User extends LP_Email_Type_Finished_Course { | |
| 24 | - public function __construct() { | |
| 25 | - $this->id = 'finished-course-user'; | |
| 26 | - $this->title = __( 'User', 'learnpress' ); | |
| 27 | - $this->description = __( 'Send this email to the user when they have finished the course.', 'learnpress' ); | |
| 28 | - | |
| 29 | - $this->default_subject = __( '[{{site_title}}] You have finished the course', 'learnpress' ); | |
| 30 | - $this->default_heading = __( 'You have finished the course', 'learnpress' ); | |
| 31 | - | |
| 32 | - parent::__construct(); | |
| 33 | - } | |
| 34 | - } | |
| 35 | - | |
| 36 | - return new LP_Email_Finished_Course_User(); | |
| 37 | -} | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * LP_Email_Finished_Course_User. | |
| 4 | + * | |
| 5 | + * @author ThimPress | |
| 6 | + * @package Learnpress/Classes | |
| 7 | + * @extends LP_Email | |
| 8 | + * @version 3.0.1 | |
| 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_Finished_Course_User' ) ) { | |
| 19 | + | |
| 20 | + /** | |
| 21 | + * Class LP_Email_Finished_Course_User | |
| 22 | + */ | |
| 23 | + class LP_Email_Finished_Course_User extends LP_Email_Type_Finished_Course { | |
| 24 | + public function __construct() { | |
| 25 | + $this->id = 'finished-course-user'; | |
| 26 | + $this->title = __( 'User', 'learnpress' ); | |
| 27 | + $this->description = __( 'Send this email to the user when they have finished the course.', 'learnpress' ); | |
| 28 | + | |
| 29 | + $this->default_subject = __( '[{{site_title}}] You have finished the course', 'learnpress' ); | |
| 30 | + $this->default_heading = __( 'You have finished the course', 'learnpress' ); | |
| 31 | + | |
| 32 | + parent::__construct(); | |
| 33 | + } | |
| 34 | + } | |
| 35 | + | |
| 36 | + return new LP_Email_Finished_Course_User(); | |
| 37 | +} | |