WordPress

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

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 writer. He is the founder of WP Mayor, and the plugins WP RSS Aggregator and Spotlight. He also runs AgentVania. Connect with him on X or LinkedIn, or visit jeangalea.com.

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

3 Responses

  1. In snippets plugin i get: Cannot redeclare function wp_password_change_notification.

  2. 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.

More from Our Blog

Get the Monthly Showcase

One email a month, written by me, with the best of the last month’s editorial work and some stuff you won’t find anywhere else.

Stay curious and keep building.

Mark from WP Mayor