Function: update_network_option_new_admin_email

update_network_option_new_admin_email( string $old_value, string $value )

Send a confirmation request email when a change of network admin email address is attempted.

Shortcut: unonae

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.

The new network admin address will not become active until confirmed.

Parameters

Name Type(s) Default Value Description
$old_value string

The old network admin email address.

$value string

The proposed new network admin email address.

WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.