Filter hook 'network_admin_email_change_email'
in WP Core File wp-includes/ms-functions.php at line 2883
Description
Filters the contents of the email notification sent when the network admin email address is changed. 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. }
Occurrences
Filename |
Line Number |
wp-includes/ms-functions.php |
2883 |
Parameters
Type |
Name |
Description |
array |
$email_change_email |
{ Used to build wp_mail(). |
string |
$old_email |
The old network admin email address. |
string |
$new_email |
The new network admin email address. |
int |
$network_id |
ID of the network. |
PHP Doc
/**
* Filters the contents of the email notification sent when the network admin email address is changed.
*
* @since 4.9.0
*
* @param array $email_change_email {
* Used to build wp_mail().
*
* @type string $to The intended recipient.
* @type string $subject The subject of the email.
* @type string $message The 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.
* @type string $headers Headers.
* }
* @param string $old_email The old network admin email address.
* @param string $new_email The new network admin email address.
* @param int $network_id ID of the network.
*/