On this page
apply_filters( 'send_site_admin_email_change_email', bool $send, string $old_email, string $new_email )
Filters whether to send the site admin email change notification email.
Parameters
$sendbool-
Whether to send the email notification.
$old_emailstring-
The old site admin email address.
$new_emailstring-
The new site admin email address.
Source
File: wp-includes/functions.php. View all references
$send = apply_filters( 'send_site_admin_email_change_email', $send, $old_email, $new_email );
Related
Used By
| Used By | Description |
|---|---|
| wp_site_admin_email_change_notification() wp-includes/functions.php | Sends an email to the old site admin email address when the site admin email address changes. |
Changelog
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/send_site_admin_email_change_email