LLMS_Notifications::load_view( string $trigger, string $path = null, string $prefix = null )
Load a single view
Description Description
Parameters Parameters
- $trigger
-
(Required) Trigger id (eg: lesson_complete).
- $path
-
(Optional) Full path to the view file, allows third parties to load external views.
Default value: null
- $prefix
-
(Optional) Classname prefix. Defaults to "LLMS". Can be used by 3rd parties to adjust the prefix in accordance with the projects standards.
Default value: null
Return Return
(boolean) true
if the view is added and loaded, false
otherwise.
Source Source
File: includes/notifications/class.llms.notifications.php
Changelog Changelog
Version | Description |
---|---|
3.8.0 | |
3.24.0 | Introduced. |