Skip to content

Instantly share code, notes, and snippets.

@KaineLabs
Last active February 14, 2022 03:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KaineLabs/05b81666631cf207ff0a219275c35e1b to your computer and use it in GitHub Desktop.
Save KaineLabs/05b81666631cf207ff0a219275c35e1b to your computer and use it in GitHub Desktop.
Reset Limit Login Attempts
<?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