id = 'completed-order-admin'; $this->title = __( 'Admin', 'learnpress' ); $this->description = __( 'Send an email to admin when an order has been completed.', 'learnpress' ); $this->default_subject = __( 'The order placed on {{order_date}} has been completed', 'learnpress' ); $this->default_heading = __( 'The user order has been completed', 'learnpress' ); $this->recipients = get_option( 'admin_email' ); $this->recipient = LP_Settings::instance()->get( 'emails_' . $this->id . '.recipients', $this->_get_admin_email() ); parent::__construct(); } } return new LP_Email_Completed_Order_Admin(); }