wp-admin » How to disable WordPress Site Admin Email Verification Screen

How to disable WordPress Site Admin Email Verification Screen

Since WordPress 5.3, a prompt asking to confirm the administration email address appears every six months when a user with an administrator role tries to access the wp-admin dashboard.

verify WordPress admin email verification - How to disable WordPress Site Admin Email Verification Screen

This feature was introduced to make sure that the email address configured in Settings → General is active.

When this screen is shown you have several options:

  1. Confirm that The email is correct, in which case you can now access to manage your WordPress dashboard, and this screen will reappear again in 6 months.
  2. If the email is not correct or you want to change it, you can click on Update, which takes you to the Settings → General administration screen to change it.
  3. Ask WordPress to remind you in 3 days, by clicking on Remind me later
  4. Simply exit by clicking Back to website link.

But there should be better options to solve this annoying confirmation screen:

  1. Set your own time to be asked again, instead of the usual 6-month period.
  2. Being able to decide not to ask you again ever.

Disable WordPress Admin Email Verification Notice

Use the following filter to competely disable WordPress admin email verification notice:

add_filter( 'admin_email_check_interval', '__return_false');

Code can be added in your child theme’s functions.php file:

How to Add Custom PHP Code to WordPress 1024x431 - How to disable WordPress Site Admin Email Verification Screen

Change Frequency of WordPress Admin Email Verification Check

Filter admin_email_check_interval can be used to change the frequency that administrators should see the verification screen.

The following example changes the interval from the default of 6 months to 1 year:

add_filter( 'admin_email_check_interval', function( $interval ) {
   return 31536000;
} );

Value 31536000 is equivalent to 1 year in seconds. For any other interval, simply substitute this number for the number of seconds in the period you want to specify. Here is a simple tool to convert human-readable time using hours/minutes/seconds to seconds: https://www.tools4noobs.com/online_tools/hh_mm_ss_to_seconds/

If you’re interested in other ways to customize WordPress using a Child theme, I have these and other snippets available in the functions.php category. Thanks for reading!

Was this post helpful?

Leave a Comment

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.