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.
1735* @type string$body Email message body.1736* @type string$headers Any email headers.Defaultempty.1737*}1738* @param int$failures The number of failures encountered while upgrading.1739* @param mixed$results The results of all attempted updates.1740*/1741$email=apply_filters('automatic_updates_debug_email',$email,$failures,$this->update_results);17421743wp_mail($email['to'],wp_specialchars_decode($email['subject']),$email['body'],$email['headers']);17441745if($switched_locale){1746restore_previous_locale();1747}
History
Introduced in 3.8.0. Unchanged from 6.7.7 through 7.1.0.