Fork me on GitHub

next_ad_int_auth

enable_login_check

next_ad_int_auth_enable_login_check (bool $enableLoginCheck) : bool $enableLoginCheck

Enable (or force disabling) the login check.

Description

The filter can be used to enable NADI's login check on sites which do not use wp-login.php to log in.

Return value

bool $enableLoginCheck

If the login check should be triggered, you must return true. If you want the login check forced to be disabled, you must return false false. If your custom filter is executed but not responsible in the current call, just return the parameter $enableLoginCheck.

Parameters

bool $enableLoginCheck

By default this will be true if user is on wp-login.php or XML-RPC is executed.