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(). @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.}
$tostring
The intended recipient.
$subjectstring
The subject of the email.
$messagestring
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.
2935* @type string$headers Headers.2936*}2937* @param string$old_email The old network admin email address.2938* @param string$new_email The newnetwork admin email address.2939* @param int$network_idID of the network.2940*/2941$email_change_email=apply_filters('network_admin_email_change_email',$email_change_email,$old_email,$new_email,$network_id);29422943$email_change_email['message']=str_replace('###OLD_EMAIL###',$old_email,$email_change_email['message']);2944$email_change_email['message']=str_replace('###NEW_EMAIL###',$new_email,$email_change_email['message']);2945$email_change_email['message']=str_replace('###SITENAME###',$network_name,$email_change_email['message']);2946$email_change_email['message']=str_replace('###SITEURL###',home_url(),$email_change_email['message']);2947
History
Introduced in 4.9.0. Unchanged from 6.7.7 through 7.1.0.