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()


Top ↑

Return Return

(LLMS_Event[]|WP_Error) Array of recorded events on success or WP_Error on failure.


Top ↑

Source Source

File: includes/class-llms-events.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.36.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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