site_admin_email_change_email

site_admin_email_change_email

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('site_admin_email_change_email') is found 1 times:

  • /wp-includes/functions.php line 8130
    	 * }
    	 * @param string $old_email The old site admin email address.
    	 * @param string $new_email The new site admin email address.
    	 */
    	$email_change_email = apply_filters( 'site_admin_email_change_email', $email_change_email, $old_email, $new_email );
    
    	$email_change_email['message'] = str_replace( '###OLD_EMAIL###', $old_email, $email_change_email['message'] );
    	$email_change_email['message'] = str_replace( '###NEW_EMAIL###', $new_email, $email_change_email['message'] );
    	$email_change_email['message'] = str_replace( '###SITENAME###', $site_name, $email_change_email['message'] );
    	$email_change_email['message'] = str_replace( '###SITEURL###', home_url(), $email_change_email['message'] );