LLMS_Notifications::load_controller( string $trigger, string $path = null )
Load and initialize a single controller
Description Description
Parameters Parameters
- $trigger
-
(Required) Trigger id (eg: lesson_complete).
- $path
-
(Optional) Full path to the controller file, allows third parties to load external controllers.
Default value: null
Return Return
(boolean) true
if the controller is added and loaded, false
otherwise.
Source Source
File: includes/notifications/class.llms.notifications.php
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |