Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chrisdavidmiles/94f58cc60fdb34d06a13f946f8ffd155 to your computer and use it in GitHub Desktop.
Save chrisdavidmiles/94f58cc60fdb34d06a13f946f8ffd155 to your computer and use it in GitHub Desktop.
WordPress Plugin: Remove Admin Email Verification
<?php
/**
* Plugin Name: Remove Admin Email Verification
* Plugin URI: https://gist.github.com/chrisdavidmiles/94f58cc60fdb34d06a13f946f8ffd155
* Description: Removes the step in /wp-login.php that occasionally asks to confirm if the email on file for a site is still correct.
* Version: 1.0
* Requires at least: 5.3
*/
add_filter( 'admin_email_check_interval', '__return_false' );
@chrisdavidmiles
Copy link
Author

WordPress Plugin: Remove Admin Email Verification

This plugin removes the extra login step that asks to confirm the admin email on file. This is useful for test sites and development sites.

confirm

@chrisdavidmiles
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment