Last active
August 7, 2022 15:23
-
-
Save wpchannel/fd8510de8a1a9c152da89c0d565643e9 to your computer and use it in GitHub Desktop.
Disable password change notification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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