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_Notifications::load()
Load all notifications
Description Description
Return Return
(void)
Source Source
File: includes/notifications/class.llms.notifications.php
private function load() { $triggers = array( 'achievement_earned', 'certificate_earned', 'course_complete', 'course_track_complete', 'enrollment', 'lesson_complete', 'manual_payment_due', 'payment_retry', 'purchase_receipt', 'quiz_failed', 'quiz_graded', 'quiz_passed', 'section_complete', 'student_welcome', 'subscription_cancelled', ); foreach ( $triggers as $name ) { $this->load_controller( $name ); $this->load_view( $name ); } $processors = array( 'email', ); foreach ( $processors as $name ) { $this->load_processor( $name ); } /** * Third party notifications can hook into this action * Use $this->load_view(), $this->load_controller(), & $this->load_processor() * to load notifications into the class and be auto-called by the APIs herein */ do_action( 'llms_notifications_loaded', $this ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |