LLMS_Abstract_Session_Data::get_id()
Retrieve session ID.
Return Return
(string) Session ID.
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;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.0.0 | Moved from LLMS_Sessions, automatically generates an ID if it doesn't exist. |
| 1.0.0 | Introduced. |