WordPress at a glance
filter is not described

network_admin_email_change_email filter-hook . WP 4.9.0

Filters the contents of the email notification sent when the network admin email address is changed.

Usage

add_filter( 'network_admin_email_change_email', 'filter_function_name_4572', 10, 4 );
function filter_function_name_4572( $email_change_email, $old_email, $new_email, $network_id ){
	// filter...

	return $email_change_email;
}
$email_change_email(array)

Used to build wp_mail().

  • $to (string)
    The intended recipient.

  • $subject (string)
    The subject of the email.

  • $message (string)
    The content of the email.

    The following strings have a special meaning and will get replaced dynamically:
    
    - ###OLD_EMAIL### The old network admin email address.
    - ###NEW_EMAIL### The new network admin email address.
    - ###SITENAME###  The name of the network.
    - ###SITEURL###   The URL to the site.
    
  • $headers (string)
    Headers.
$old_email(string)
The old network admin email address.
$new_email(string)
The new network admin email address.
$network_id(int)
ID of the network.

Changelog

Since 4.9.0 Introduced.

Where the hook is called

wp_network_admin_email_change_notification()
network_admin_email_change_email
wp-includes/ms-functions.php 2737
$email_change_email = apply_filters( 'network_admin_email_change_email', $email_change_email, $old_email, $new_email, $network_id );

Where the hook is used (in WP core)

Usage not found!