[Solved] Wordpress Change User/Admin Email without confirmation/verification

If you see a notice when you update your user email address (not just admin) in Wordpress, and you want to disable it, below is the How-To to fix this problem.

When you change your email address, you may see

    There is a pending change of your email to <some_email_address.>

To solve, in your theme functions.php, add this line (Reference Link here):

    remove_action( 'personal_options_update', 'send_confirmation_on_profile_email' );

Saved and upload to your theme directory.  Fixed!

By the way, in case you want to disable email notification after changing your password, add the following line in your theme functions.php (Reference Link here)

    add_filter( 'send_password_change_email', '__return_false' );

Saved and upload to your theme directory.  Fixed!

Hope it helps someone.

Comments

Popular posts from this blog

TCPDF How to show/display Chinese Character?

How to fix fancy box/Easy Fancybox scroll not work in mobile

Wordpress Load balancing: 2 web servers 1 MySQL without any Cloud services