Snippets

Visser Labs Disable Lost/Changed Password e-mails going to Administrators

Created by Michael Visser

File functions.php Added

  • Ignore whitespace
  • Hide word diff
+<?php
+
+// Disable the Lost/Changed Password e-mail notifications in WordPress
+if( !function_exists( 'wp_password_change_notification' ) ) {
+
+	function wp_password_change_notification() {}
+
+}
+
+?>
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.