Skip to content

Instantly share code, notes, and snippets.

@wpchannel
Last active August 7, 2022 15:23
Show Gist options
  • Save wpchannel/fd8510de8a1a9c152da89c0d565643e9 to your computer and use it in GitHub Desktop.
Save wpchannel/fd8510de8a1a9c152da89c0d565643e9 to your computer and use it in GitHub Desktop.
Disable password change notification
/* Disable User Password Change Notification */
add_filter('send_password_change_email', '__return_false');
/* Disable Admin Password Change Notification */
remove_action('after_password_reset', 'wp_password_change_notification');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment