# learnpress/4.4.9/inc/emails/admin/class-lp-email-refunded-order-admin.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.9. 30 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.9/code/inc/emails/admin/class-lp-email-refunded-order-admin.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.9/raw/inc/emails/admin/class-lp-email-refunded-order-admin.php
- Modified: 2026-09-27T10:32:46+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.4.9/code/inc/emails/admin/class-lp-email-refunded-order-admin.php#L10-L20`.

```php
<?php

/**
 * Class LP_Email_Refunded_Order_Admin
 *
 * @package LearnPress/Classes
 */
defined( 'ABSPATH' ) || exit();

if ( ! class_exists( 'LP_Email_Refunded_Order_Admin' ) ) {
	class LP_Email_Refunded_Order_Admin extends LP_Email_Type_Order_Admin {
		/**
		 * LP_Email_Refunded_Order_Admin constructor.
		 */
		public function __construct() {
			$this->id              = 'refunded-order-admin';
			$this->title           = __( 'Admin', 'learnpress' );
			$this->description     = __( 'Send an email to admin when the order has been refunded.', 'learnpress' );
			$this->default_subject = __( 'The order placed on {{order_date}} has been refunded', 'learnpress' );
			$this->default_heading = __( 'The user order has been refunded', 'learnpress' );
			$this->recipient       = LP_Settings::instance()->get( 'emails_' . $this->id . '.recipients', $this->_get_admin_email() );
			$this->template_html   = 'emails/refund/refunded-order-admin.php';

			parent::__construct();
		}
	}

	return new LP_Email_Refunded_Order_Admin();
}

```
