# learnpress/4.3.7/inc/emails/instructor/class-lp-email-new-order-instructor.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.3.7. 34 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.3.7/code/inc/emails/instructor/class-lp-email-new-order-instructor.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.3.7/raw/inc/emails/instructor/class-lp-email-new-order-instructor.php
- Modified: 2026-05-23T18:20:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.3.7/code/inc/emails/instructor/class-lp-email-new-order-instructor.php#L10-L20`.

```php
<?php
/**
 * Email for instructor when has new order.
 *
 * @author  ThimPress
 * @package LearnPress/Classes
 * @version 3.0.1
 * @editor tungnx
 * @modify 4.1.3
 */

/**
 * Prevent loading this file directly
 */
defined( 'ABSPATH' ) || exit();

if ( ! class_exists( 'LP_Email_New_Order_Instructor' ) ) {
	class LP_Email_New_Order_Instructor extends LP_Email_Type_Order_Instructor {
		public function __construct() {
			$this->id          = 'new-order-instructor';
			$this->title       = __( 'Instructor', 'learnpress' );
			$this->description = __( 'Notify instructors when a user enrolls in one of their courses.', 'learnpress' );

			$this->default_subject = __( 'Instructor - New order placed on {{order_date}}', 'learnpress' );
			$this->default_heading = __( 'New user order', 'learnpress' );

			parent::__construct();
		}
	}

	return new LP_Email_New_Order_Instructor();
}


```
