Stop the site admin getting an email every time a user resets their password.
add_action( 'init', function (): void {
remove_action( 'after_password_reset', 'wp_password_change_notification' );
} );
Always add PHP to a staging site first, or have FTP or file manager access ready, so you can undo it if something goes wrong.
Every time any user resets a lost password, WordPress emails the site admin about it. On sites with many customers or members, those emails are noise. This snippet stops them.
WordPress sends the admin notice from wp_password_change_notification(), hooked to after_password_reset. Removing that action stops the email. The user who reset their password still gets their own confirmation.
Reset a test user’s password through “Lost your password?”. The admin should not receive a “Password Changed” email.