LLMS_Events::record_many( array[] $events = array() )
Record multiple events.
Description Description
Events are recorded with an SQL transaction. If any errors are encountered the transaction is rolled back (not events are recorded).
Parameters Parameters
- $events
-
(Optional) Array of event hashes. See LLMS_Events::record() for hash description.
Default value: array()
Return Return
(LLMS_Event[]|WP_Error) Array of recorded events on success or WP_Error on failure.
Source Source
File: includes/class-llms-events.php
Changelog Changelog
Version | Description |
---|---|
3.36.0 | Introduced. |