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)


Top ↑

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'];

	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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