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_current_session_login_time()
Retrieve current session for the current user.
Return Return
(int)
Source Source
File: includes/class-llms-prevent-concurrent-logins.php
private function current_user_current_session_login_time() { $sessions = WP_Session_Tokens::get_instance( $this->user_id ); return $sessions->get( wp_get_session_token() )['login']; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |