LLMS_Abstract_Session_Data::get_id()

Retrieve session ID.


Return Return

(string) Session ID.


Top ↑

Source Source

File: includes/abstracts/llms-abstract-session-data.php

	public function get_id() {
		if ( empty( $this->id ) ) {
			$this->id = $this->generate_id();
		}
		return $this->id;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.0.0 Moved from LLMS_Sessions, automatically generates an ID if it doesn't exist.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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