Last active
February 14, 2022 03:59
-
-
Save KaineLabs/05b81666631cf207ff0a219275c35e1b to your computer and use it in GitHub Desktop.
Reset Limit Login Attempts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Reset Limit Login Attempts. | |
*/ | |
function yzc_reset_limit_login_attempts() { | |
delete_option( 'logy_login_retries' ); | |
delete_option( 'logy_login_lockouts' ); | |
} | |
add_action( 'init', 'yzc_reset_limit_login_attempts' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment