21

How to Disable Password Reset Notices to Admin in WordPress

Powered by WPCodeBox

This WordPress snippet disables password reset notices sent to the admin, helping to reduce email clutter and streamline site management.


<?php

add_action('init',function(){

    remove_action( 'after_password_reset', 'wp_password_change_notification' );

});

Other Snippets

WPCodeBox is a WordPress Code Snippets Manager that allows you to share your WordPress Code Snippets across your sites.