Disable “password changed” emails
-
Every time a user resets their password, the WordPress administrator gets an email.
The subject of the email is: [Site Name] Password Changed
Then the body of the email says: Password changed for user: [username]
I found a snippet on this forum that is supposed to disable this email. Here’s the snippet:
if (!function_exists('wp_password_change_notification')) { function wp_password_change_notification($user) { return; } }
I have tried placing this snippet in my theme functions file and also I have tried using the “Code Snippets” plugin.
It doesn’t seem to work. Am I doing something wrong? Is there another method I could try to disable these emails?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Disable “password changed” emails’ is closed to new replies.