LLMS_Notifications::get_controller( string $controller )

Get a single controller instance


Parameters Parameters

$controller

(string) (Required) Trigger id (eg: lesson_complete).


Top ↑

Return Return

(LLMS_Abstract_Notification_Controller|false)


Top ↑

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 ];
		}

Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.