wordpress / latest / hooks / automatic_updates_debug_email.html

apply_filters( 'automatic_updates_debug_email', array $email, int $failures, mixed $results )

Filters the debug email that can be sent following an automatic background core update.

Parameters

$email array
Array of email arguments that will be passed to wp_mail() .
  • 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.
$failures int
The number of failures encountered while upgrading.
$results mixed
The results of all attempted updates.

Source

File: wp-admin/includes/class-wp-automatic-updater.php. View all references

$email = apply_filters( 'automatic_updates_debug_email', $email, $failures, $this->update_results );

Used By

Used By Description

Changelog

Version Description
3.8.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/automatic_updates_debug_email