On this page
apply_filters( 'network_admin_email_change_email', array $email_change_email, string $old_email, string $new_email, int $network_id )
Filters the contents of the email notification sent when the network 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 network admin email address.###NEW_EMAIL###The new network admin email address.###SITENAME###The name of the network.###SITEURL###The URL to the site.
headersstringHeaders.
$old_emailstring-
The old network admin email address.
$new_emailstring-
The new network admin email address.
$network_idint-
ID of the network.
Source
File: wp-includes/ms-functions.php. View all references
$email_change_email = apply_filters( 'network_admin_email_change_email', $email_change_email, $old_email, $new_email, $network_id );
Related
Used By
| Used By | Description |
|---|---|
| wp_network_admin_email_change_notification() wp-includes/ms-functions.php | Sends an email to the old network admin email address when the network 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/network_admin_email_change_email