• Hi, I installed this yesterday and it works great and the config options are awesome.

    Is there a way to prevent WordPress sending me as the administrator of the website emails every time someone changes a password?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Richard Webster

    (@rwebster85)

    I’ve not tested this myself, but using the plugin Code Snippets, create a snippet with the following code:

    if (!function_exists('wp_password_change_notification')) {
    	function wp_password_change_notification($user) {
    		return;
    	}
    }
    Thread Starter candell

    (@candell)

    Thanks Richard.

    I received an error when saving this snippet:

    Cannot redeclare function wp_password_change_notification

    Plugin Author Richard Webster

    (@rwebster85)

    Might not work in your setup. Have a search on Google for a different solution.

    Thanks! I also tried this:

    remove_action( 'after_password_reset', 'wp_password_change_notification' );

    No error, but the emails kept getting sent. I’ll keep looking…

    • This reply was modified 5 years, 4 months ago by Ken Gagne. Reason: additional details & clarity
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Stop Admin Email’ is closed to new replies.