wphooks.info - send_site_admin_email_change_email

send_site_admin_email_change_email

*** New in v4.9 ***

The hook occurs in the following file:

wp-includes/functions.php:
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
function wp_site_admin_email_change_notification( $old_email, $new_email, $option_name ) {
	/**
	 * Filters whether to send the site admin email change notification email.
	 *
	 * @since 4.9.0
	 *
	 * @param bool   $send      Whether to send the email notification.
	 * @param string $old_email The old site admin email address.
	 * @param string $new_email The new site admin email address.
	 */
	$send = apply_filters( 'send_site_admin_email_change_email', true, $old_email, $new_email );

	if ( ! $send ) {
		return;
	}

	/* translators: Do not translate OLD_EMAIL, NEW_EMAIL, SITENAME, SITEURL: those are placeholders. */
	$email_change_text = __( 'Hi,

This notice confirms that the admin email address was changed on ###SITENAME###.