Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.



Description Description

Initializes class. Adds actions to trigger emails off of events.

Top ↑

Return Return


Top ↑

Source Source

File: includes/class.llms.emails.php

	private function __construct() {

		// Template functions.

		// Email base class.
		$this->emails['generic'] = 'LLMS_Email';

		// Email child classes.
		$this->emails['engagement']     = 'LLMS_Email_Engagement';
		$this->emails['reset_password'] = 'LLMS_Email_Reset_Password';

		$this->emails = apply_filters( 'lifterlms_email_classes', $this->emails );

Top ↑

Changelog Changelog

Version Description
6.0.0 Removed loading of class files that don't instantiate their class in favor of autoloading.
3.8.0 Unknown.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.