How to disable email notification when password is changed
How can I block email notifications to user and admin when a password is changed in WordPress?
Insert this code on your plugin:
<?php
/*
* Disable admin notifications
*
*/
if ( !function_exists( 'wp_password_change_notification' ) ) {
function wp_password_change_notification() {}
}
/*
* Disable user notifications
*
*/
add_filter( 'send_password_change_email', '__return_false' );
?>