LLMS_Prevent_Concurrent_Logins::init()

Initialize.


Return Return

(void)


Top ↑

Source Source

File: includes/class-llms-prevent-concurrent-logins.php

	public function init() {

		$this->user_id = get_current_user_id();

		if ( empty( $this->user_id ) ) {
			return;
		}

		$this->user_sessions = wp_get_all_sessions();

	}

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.