send_site_admin_email_change_email WordPress Filter Hook
The send_site_admin_email_change_email WordPress hook is used to send an email to the site administrator when the email address for the site is changed. This hook is important because it allows the administrator to be notified of any changes to the site's email address.
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
- $send
(bool)Whether to send the email notification.
- $old_email
(string)The old site admin email address.
- $new_email
(string)The new site admin email address.
Source
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |