In WordPress, the All in One Security (AIOS) plugin allows you to enable particular IP addresses for specific IP logins. When enabled, it can cause conflicts with dynamic IP address internet connections.
This may
If you are locked out from your WordPress website by the login whitelist feature and you do not have a static IP address, define the following constant in wp-config.php to disable the feature.
define('AIOS_DISABLE_LOGIN_WHITELIST', true);
This line of code for wp-config.php is exclusive to the All in One Security plugin for WordPress.
If you’ve recently enabled the IP whitelist for the login feature under WP Dashboard > WP Security > Brute Force > Login whitelist (tab) and later locked out, then you can use this line of code for wp-config.php file to get yourself out of this situation.
Note: Back up your .htaaccess file before editing or making changes to make sure that your site and changes remain safe.