LLMS_Notifications::get_controller( string $controller )
Get a single controller instance
Parameters Parameters
- $controller
-
(string) (Required) Trigger id (eg: lesson_complete).
Return Return
Source Source
File: includes/notifications/class.llms.notifications.php
* @return LLMS_Abstract_Notification_Controller|false */ public function get_controller( $controller ) { if ( isset( $this->controllers[ $controller ] ) ) { return $this->controllers[ $controller ]; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |