Filters the debug email that can be 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 Email subject. @type string $body Email message body. @type string $headers Any email headers. Default empty.}
$tostring
The email recipient. An array of emails can be returned, as handled by wp_mail().
$subjectstring
Email subject.
$bodystring
Email message body.
$headersstring
Any email headers. Default empty.
$failuresint
The number of failures encountered while upgrading.
1709* @type string$body Email message body.1710* @type string$headers Any email headers.Defaultempty.1711*}1712* @param int$failures The number of failures encountered while upgrading.1713* @param mixed$results The results of all attempted updates.1714*/1715$email=apply_filters('automatic_updates_debug_email',$email,$failures,$this->update_results);17161717wp_mail($email['to'],wp_specialchars_decode($email['subject']),$email['body'],$email['headers']);1718}17191720/**1721* Performs a loopback request to check for potential fatal errors.
History
Introduced in 3.8.0. Unchanged from 6.7.7 through 7.1.0.