[wp-trac] [WordPress Trac] #65402: Introduce a filter to control whether the site administrator receives the password change notification email sent by wp_password_change_notification()
WordPress Trac
noreply at wordpress.org
Thu Jun 4 07:52:50 UTC 2026
#65402: Introduce a filter to control whether the site administrator receives the
password change notification email sent by
wp_password_change_notification()
-------------------------------------+----------------------
Reporter: ibachal | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Login and Registration | Version:
Severity: normal | Resolution: wontfix
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+----------------------
Changes (by peterwilsoncc):
* status: new => closed
* version: trunk =>
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Hi @ibachal and thank you for the ticket.
The password reset notification runs on an action so it's already possible
to turn the notifications in code:
{{{#!php
<?php
remove_action( 'after_password_reset', 'wp_password_change_notification'
);
}}}
This code can be run as a plugin is included or within a theme's functions
file.
As the feature is available, I'm going to close this ticket off as
''wontfix'' as it's the nearest match for a feature that's already
available.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65402#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list