LLMS_Events::is_event_valid( string $event )
Determine if the event string is registered and valid.
Description Description
Parameters Parameters
- $event
-
(Required) Event string (${event_type}.${event_action}). EG: "account.signon".
Return Return
(bool)
Source Source
File: includes/class-llms-events.php
Changelog Changelog
Version | Description |
---|---|
3.36.1 | Use more performant array_key_exists( $key, $array_assoc ) in place of in_array( $key, array_keys( $array_assoc ), true ) . |
3.36.0 | Introduced. |