LLMS_Prevent_Concurrent_Logins::init()
Initialize.
Contents
Return Return
(void)
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();
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |