Filter hook 'site_admin_email_change_email'

in WP Core File wp-includes/functions.php at line 8098

Description

Filters the contents of the email notification sent when the site admin email address is changed. 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. }

Occurrences

Filename Line Number
wp-includes/functions.php 8098

Parameters

Type Name Description
array $email_change_email { Used to build wp_mail().
string $old_email The old site admin email address.
string $new_email The new site admin email address.

PHP Doc

/**
	 * Filters the contents of the email notification sent when the site 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 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.
	 * }
	 * @param string $old_email The old site admin email address.
	 * @param string $new_email The new site admin email address.
	 */