function __construct()
 {
     $this->id = 'finished_course';
     $this->title = __('Finished course', 'learn_press');
     $this->template_html = 'emails/finished-course.php';
     $this->template_plain = 'emails/plain/finished-course.php';
     $this->default_subject = __('[{site_title}] You have finished course ({course_name})', 'learn_press');
     $this->default_heading = __('Finished course', 'learn_press');
     parent::__construct();
 }
 function __construct()
 {
     $this->id = 'rejected_course';
     $this->title = __('Rejected course', 'learn_press');
     $this->template_html = 'emails/rejected-course.php';
     $this->template_plain = 'emails/plain/rejected-course.php';
     $this->default_subject = __('[{site_title}] Your course {course_name} has rejected', 'learn_press');
     $this->default_heading = __('Rejected course', 'learn_press');
     parent::__construct();
 }
 function __construct()
 {
     $this->id = 'enrolled_course';
     $this->title = __('Enrolled course', 'learn_press');
     $this->template_html = 'emails/enrolled-course.php';
     $this->template_plain = 'emails/plain/enrolled-course.php';
     $this->subject = __('[{site_title}] New course for review ({course_name}) - {course_date}', 'learn_press');
     $this->heading = __('New course', 'learn_press');
     parent::__construct();
 }
 function __construct()
 {
     $this->id = 'new_order';
     $this->title = __('New order', 'learn_press');
     $this->template_html = 'emails/new-order.php';
     $this->template_plain = 'emails/plain/new-order.php';
     $this->subject = __('[{site_title}] New course for review ({course_name}) - {course_date}', 'learn_press');
     $this->heading = __('New course', 'learn_press');
     parent::__construct();
 }
 function __construct()
 {
     $this->id = 'enrolled_course';
     $this->title = __('Enrolled course', 'learn_press');
     $this->template_html = 'emails/enrolled-course.php';
     $this->template_plain = 'emails/plain/enrolled-course.php';
     $this->default_subject = __('[{site_title}] You have enrolled course ({course_name})', 'learn_press');
     $this->default_heading = __('Enrolled course', 'learn_press');
     add_action('learn_press_user_enrolled_course_notification', array($this, 'trigger'), 99, 3);
     parent::__construct();
 }
 function __construct()
 {
     $this->id = 'new_course';
     $this->title = __('New course', 'learn_press');
     $this->template_html = 'emails/new-course.php';
     $this->template_plain = 'emails/plain/new-course.php';
     $this->default_subject = __('[{site_title}] New course has submitted for review ({course_name})', 'learn_press');
     $this->default_heading = __('New course', 'learn_press');
     $this->recipient = LP()->settings->get('emails_new_course.recipient');
     parent::__construct();
 }
 function __construct()
 {
     $this->id = 'new_order';
     $this->title = __('New order', 'learn_press');
     $this->template_html = 'emails/new-order.php';
     $this->template_plain = 'emails/plain/new-order.php';
     $this->subject = __('[{site_title}] New course for review ({course_name}) - {course_date}', 'learn_press');
     $this->heading = __('New course', 'learn_press');
     add_action('learn_press_order_status_pending_to_processing_notification', array($this, 'trigger'));
     add_action('learn_press_order_status_pending_to_completed_notification', array($this, 'trigger'));
     add_action('learn_press_order_status_processing_to_completed_notification', array($this, 'trigger'));
     parent::__construct();
 }