Are you tired of seeing password change notifications? Not sure how to remove notifications? In this tutorial you will learn how.
Managing your WordPress site can be a breeze, but dealing with an inbox overflowing with password change notifications is not only annoying, it can also hamper the efficient functioning of your website.
Fortunately, there’s a simple fix.
In this article, we will walk you through the process of disabling password change notifications in WordPress to reduce email clutter and improve the security of your website.
First, let’s talk about the benefits of turning off password change notifications.
Benefits of disabling password change notifications
Disabling password change notifications in WordPress can have two main benefits. They help reduce email clutter and improve the security of your website. We cover each of these two benefits in depth.
Reduced email clutter
Reducing email clutter is one of the main benefits of disabling password change notifications in WordPress. With so many important emails arriving for your website every day, it’s essential to keep your inbox clean and organized.
By turning off these unnecessary notifications, you’ll be able to focus on the messages that really matter to your business and avoid confusion.
Better website security
Disabling password change notifications in WordPress can greatly improve website security. When hackers attempt to gain access to a user’s account by guessing their password, the user will often receive an email notification of a failed login attempt or successful login from an unknown device.
By turning off these notifications, hackers are less likely to be detected and stopped before they do any harm.
Even if you are not bothered by password change notifications, it is recommended that you disable them to improve the security of your site.
Disable password change or reset notifications in WordPress
You can disable password change or reset notifications in WordPress using a plugin using or add code to disable notifications via filter hook called send_password_change_email
.
Let us now analyze each of these methods step by step.
Using the WP Mail SMTP Plugin
This is the easiest way to turn off password change notifications.
You will need the pro version of the WP Mail SMTP plugin to disable password notifications.
Once the plugin is installed, go to WP Mail SMTP > Settings in the WordPress dashboard. Then click Email checks tab on the settings page.
Locate the Password reset successful section and turn off the slider.
That’s all! Password notifications will now be turned off for your website.
Now let’s look at the second method which will allow you to disable notifications for all users on your website.
Added code to disable notifications
First, you need to log in to your WordPress files using an FTP client, your hosting account’s file manager, or by going to Appearance > Theme File Editor in the WordPress dashboard.
In this tutorial, we will access WordPress files from file Thematic file editor.
No matter which method you choose to access your WordPress files, we recommend navigating to your themes functions.php file. If you’re using an FTP client or file manager, it will be available wp-content/themes/your-theme-name.
When you access your website files from the WP dashboard, the functions.php file will be in the left side of the file Thematic file editor page.
Then, open the file functions.php file for editing and insert the following lines of PHP code at the end of the file:
1 |
if ( !function_exists( 'wp_password_change_notification' ) ) { |
2 |
function wp_password_change_notification() {} |
3 |
} |
This will disable the user and administrator password change email notifications.
After that, save the changes to the file functions.php file or if you are in your WordPress dashboard, click on the file Update files button.
Finally, test if it works by performing a password reset action on your WordPress site to make sure no email notifications are sent.
Remember to be careful when editing your theme files directly, as any errors could result in a broken website. Always back up your site before making any code changes, and consider using a child theme for your customizations to avoid issues during future theme updates.
By incorporating these steps into your WordPress setup, you can effectively disable password change email notifications for both users and admins, helping to improve website security, reduce email clutter, and improve efficiency of user account management.
Check out the best WordPress resources
Still learning how to use WordPress? Check out the following resources as they cover some common issues and problems that WordPress site owners often encounter.
Disable password change notifications now!
Disabling password change notifications in WordPress is quick and easy. You can do this by installing the WP Mail SMTP plugin or using the code to disable all email notifications on your site.
Not only will you reduce email clutter, but you will also strengthen security on your website by disabling these notifications.
Are you looking to add new features to your WordPress website. Envato Elements gives you access to a library filled with themes, plugins, and thousands of other creative assets. Don’t miss out on this great resource that all WordPress site owners can enjoy.