Code am Macbook Bildschirm Webdesign Webentwicklung Wordpress

WordPress „Password has been changed“ emails disable

WordPress sends emails by default to let you know that a user’s password has been changed. This can be quite annoying if you have multiple users. So in this article I’ll show you how to disable these email notifications.

Weiterlesen: WordPress „Password has been changed“ emails disable

These email notifications are not sent to an admin, but to the email address that is stored in the wordpress settings. This is for security purposes and to inform the operator when someone has requested „Forgot password?“ and changed their password.

For websites with many users (e.g. communities, online stores, etc.) this can be quite annoying if emails arrive constantly.

To disable this feature, you need to add the following code to your website. You can do this either with a custom plugin or simply by using the Code Snippets plugin.

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

Important: The code does not work if you insert it in the functions.php file! This is because the functions.php file is executed after the mail is sent.Important: The code does not work if you insert it in the functions.php file! This is because the functions.php file is executed after the mail is sent.


I hope this tip helps you with your Wordress website so you don’t get bombarded with „password changed“ emails. If you have any questions, just post them below in the comments!

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Weitere Artikel

Hat KI das Webdesign gekillt? Was wir von Tim Ferriss über die Zukunft der Webdesign-Branche lernen müssen

Vor Kurzem hat Bestseller-Autor Tim Ferriss in seinem aktuellen Artikel „Has AI Already Killed How-To Nonfiction?“ eine ungeschminkte Wahrheit ausgesprochen, die eine ganze Branche durchschüttelt. …

WordPress-Animationen auf Next-Level: GSAP für Elementor, Gutenberg & Co.

Wer eine moderne Website mit WordPress baut, merkt schnell: Statische Textblöcke und Standard-Layouts hauen niemanden mehr vom Hocker. Wenn sich auf einer Seite beim Scrollen …