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::__construct()

Private Constructor.


Return Return

(void)


Top ↑

Source Source

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

	private function __construct() {

		if ( llms_parse_bool( get_option( 'lifterlms_prevent_concurrent_logins', 'no' ) ) &&
				! empty( get_option( 'lifterlms_prevent_concurrent_logins_roles', array( 'student' ) ) ) ) {

			add_action( 'init', array( $this, 'init' ) );
			add_action( 'init', array( $this, 'maybe_prevent_concurrent_logins' ) );
		}

	}


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.