LLMS_Abstract_Notification_Controller::supports( string $type )
Determine if a given notification type is supported
Parameters Parameters
- $type
-
(string) (Required) Notification type id.
Return Return
(boolean)
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 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.2.0 | Use strict type comparison. |
3.8.0 | Introduced. |