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.

LLMS_Emails::__construct()

Constructor


Description Description

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


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.emails.php

46
47
48
49
50
51
52
53
54
55
56
57
58
59
private function __construct() {
 
    // Template functions.
    llms()->include_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

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.