LLMS_Event::__construct( int $id = null, bool $hydrate = false )


Parameters Parameters


(int) (Optional) Event ID.

Default value: null


(bool) (Optional) If true, hydrates the object on instantiation if an ID is supplied.

Default value: false

Top ↑

Source Source

File: includes/models/class-llms-event.php

	public function __construct( $id = null, $hydrate = false ) {

		$this->id = $id;
		if ( $this->id && $hydrate ) {

		// Adds created and updated dates on instantiation.


Top ↑

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.