[wp-trac] [WordPress Trac] #48745: Disable Admin Email Verification Screen by Variable in wp-config.php (or other means)

WordPress Trac noreply at wordpress.org
Thu Nov 21 13:43:55 UTC 2019


#48745: Disable Admin Email Verification Screen by Variable in wp-config.php (or
other means)
-------------------------------------------------+-------------------------
 Reporter:  jadonn                               |       Owner:  (none)
     Type:  feature request                      |      Status:  closed
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Users                                |     Version:  5.3
 Severity:  normal                               |  Resolution:  worksforme
 Keywords:  reporter-feedback close dev-         |     Focuses:
  feedback                                       |  administration
-------------------------------------------------+-------------------------
Changes (by anant101289):

 * keywords:  reporter-feedback => reporter-feedback close dev-feedback
 * status:  reopened => closed
 * resolution:   => worksforme


Comment:

 Hello,

 please check attached image and below code

 https://prnt.sc/q03vqq


 add_action('admin_init', 'disbled_email_verification_screen');
 if(!function_exists('disbled_email_verification_screen')) {

         function disbled_email_verification_screen() {

                 $email_veri_screen =
 (int)get_option('disabled_email_veri_screen');
                 if('1' == $email_veri_screen) {
                         add_filter( 'admin_email_check_interval',
 '__return_false' );
                 }
         }
 }

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48745#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list