简体   繁体   中英

Unable to change WordPress admin mail

I want to change my WordPress admin email. If I am doing from the WordPress settings, it is showing request pending, you will receive a confirmation email. But I am not getting any mail from WordPress. I also try to change it from the database but the changed email is not reflecting in WordPress.

  1. Add the following lines on top of your active themes functions.php save the file
  2. Reload your admin once then comment the added code

     update_option( 'admin_email', 'your_new_email@gmail.com' ); update_option( 'new_admin_email', 'your_new_email@gmail.com' ); 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM