LLMS_Sessions::is_session_idle( LLMS_Event $start )
Determine if a session is idle.
Description Description
A session is considered idle if it’s open and no new events have been recorded in the last 30 minutes.
Parameters Parameters
- $start
-
(Required) Event record for the start of the session.
Return Return
(bool)
Source Source
File: includes/class-llms-sessions.php
Changelog Changelog
Version | Description |
---|---|
4.7.0 | When retrieving the last event, instantiate the events query passing no_found_rows arg as true , to improve performance. |
3.36.0 | Introduced. |