Function: wp_network_admin_email_change_notification

wp_network_admin_email_change_notification( string $option_name, string $new_email, string $old_email, integer $network_id )

Send an email to the old network admin email address when the network admin email address changes.


Name Type(s) Default Value Description
$option_name string

The relevant database option name.

$new_email string

The new network admin email address.

$old_email string

The old network admin email address.

$network_id integer

ID of the network.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.