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(). @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 site admin email address. - ###NEW_EMAIL### The new site admin email address. - ###SITENAME### The name of the site. - ###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 site admin email address. - ###NEW_EMAIL### The new site admin email address. - ###SITENAME### The name of the site. - ###SITEURL### The URL to the site.
8207*-`###SITEURL###` The URL to the site.8208* @type string$headers Headers.8209*}8210* @param string$old_email The old site admin email address.8211* @param string$new_email The newsite admin email address.8212*/8213$email_change_email=apply_filters('site_admin_email_change_email',$email_change_email,$old_email,$new_email);82148215$email_change_email['message']=str_replace('###OLD_EMAIL###',$old_email,$email_change_email['message']);8216$email_change_email['message']=str_replace('###NEW_EMAIL###',$new_email,$email_change_email['message']);8217$email_change_email['message']=str_replace('###SITENAME###',$site_name,$email_change_email['message']);8218$email_change_email['message']=str_replace('###SITEURL###',home_url(),$email_change_email['message']);8219
History
Introduced in 4.9.0. Unchanged from 6.7.7 through 7.1.0.