Function: update_option_new_admin_email

update_option_new_admin_email( string $old_value, string $value )

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

Shortcut: uonae

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 site admin address will not become active until confirmed.

Parameters

Name Type(s) Default Value Description
$old_value string

The old site admin email address.

$value string

The proposed new site admin email address.

WordPress Developer Newsletter

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