Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/functions.php | apply_filters | 7690 | /** * 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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $email_change_emai | l { |
string | $old_email | The old site admin email address. |
string | $new_email | The new site admin email address. |