send_site_admin_email_change_email filter-hook . WP 4.9.0
Filters whether to send the site admin email change notification email.
Usage
add_filter( 'send_site_admin_email_change_email', 'filter_function_name_5576', 10, 3 ); function filter_function_name_5576( $send, $old_email, $new_email ){ // filter... return $send; }
- $send(true/false)
- Whether to send the email notification.
- $old_email(string)
- The old site admin email address.
- $new_email(string)
- The new site admin email address.
Where the hook is called
send_site_admin_email_change_email
wp-includes/functions.php 6467
$send = apply_filters( 'send_site_admin_email_change_email', $send, $old_email, $new_email );