Filters the contents of the email notification sent when the site admin email address is changed.
Parameters
$email_change_emailarray- Used to build wp_mail() .
tostringThe intended recipient.subjectstringThe subject of the email.messagestringThe content of the email.
The following strings have a special meaning and will get replaced dynamically:
###OLD_EMAIL###The old site admin email address.###NEW_EMAIL###The new site admin email address.###SITENAME###The name of the site.###SITEURL###The URL to the site.
headersstringHeaders.
$old_emailstring- The old site admin email address.
$new_emailstring- The new site admin email address.
Source
$email_change_email = apply_filters( 'site_admin_email_change_email', $email_change_email, $old_email, $new_email );
Changelog
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.