Filters the email sent following an automatic background core update.
Parameters
$emailarray
{ Array of email arguments that will be passed to wp_mail(). @type string $to The email recipient. An array of emails can be returned, as handled by wp_mail(). @type string $subject The email's subject. @type string $body The email message body. @type string $headers Any email headers, defaults to no headers.}
$tostring
The email recipient. An array of emails can be returned, as handled by wp_mail().
$subjectstring
The email's subject.
$bodystring
The email message body.
$headersstring
Any email headers, defaults to no headers.
$typestring
The type of email being sent. Can be one of 'success', 'fail', 'manual', 'critical'.
1141*}1142* @param string$type The type of email being sent. Can be one of1143*'success','fail','manual','critical'.1144* @param object$core_update The update offer that was attempted.1145* @param mixed$result The result for the core update. Can be WP_Error.1146*/1147$email=apply_filters('auto_core_update_email',$email,$type,$core_update,$result);11481149wp_mail($email['to'],wp_specialchars_decode($email['subject']),$email['body'],$email['headers']);11501151if($switched_locale){1152restore_previous_locale();1153}
History
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.