How to Disable Password Change Notifications in WordPress

If you want to disable the email notifications for password changes of users on your WordPress site, just insert this piece of code into your theme's functions.phpΒ file or create a custom functionality plugin and insert this code in there.
Table of Contents

Sponsored Ad

If you purchase through a link on our site, we may earn a commission.

If you want to disable the email notifications for password changes of users on your WordPress site, just insert this piece of code into your theme’s functions.phpΒ file or create a custom functionality plugin and insert this code in there:

if ( !function_exists( 'wp_password_change_notification' ) ) {
    function wp_password_change_notification() {}
}

 

Jean Galea is an investor, entrepreneur, and blogger. He is the founder of WP Mayor, the plugins WP RSS Aggregator and Spotlight, as well as the Mastermind.fm podcast. His personal blog can be found at jeangalea.com.

Sponsored Ad

If you purchase through a link on our site, we may earn a commission.

All suggestions are anonymous.

More from our blog...

3 Responses

  1. It can not work because WP load pluggable.php BEFORE your function.php.
    So you need to creat a plugin whith those 2 lines and it will works.

Post a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stay updated with WP Mayor's newsletter showcase every week

Stay on top of every new WordPress innovation and latest launches. Receive all our fresh product reviews and expert guides directly in your inbox.

Hosting Survey 2024

Are you happy with your hosting provider or are you over-paying for too little? Have your say below!

"*" indicates required fields

What's the main reason you picked this host?*
How happy are you with your host?*

OPTIONAL: If you'd like to receive the results of this survey, please enter your details below.