LLMS_Abstract_Notification_Controller::supports( string $type )

Determine if a given notification type is supported


Parameters Parameters

$type

(string) (Required) Notification type id.


Top ↑

Return Return

(boolean)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.notification.controller.php

	public function supports( $type ) {
		return in_array( $type, array_keys( $this->get_supported_types() ), true );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.2.0 Use strict type comparison.
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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