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.


Top ↑

Return Return

(int)


Top ↑

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

	}


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.