Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Prevent_Concurrent_Logins::current_user_newest_session_login_time()
Retrieve newest session login time for the current user.
Description Description
The bigger the login time is the newest the session is.
Return Return
(int)
Source Source
File: includes/class-llms-prevent-concurrent-logins.php
private function current_user_newest_session_login_time() { return max( array_column( $this->user_sessions, 'login' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |