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 Parameters

$email

(array) Array of email arguments that will be passed to wp_mail().

  • 'to'
    (string) The email recipient. An array of emails can be returned, as handled by wp_mail().
  • 'subject'
    (string) Email subject.
  • 'body'
    (string) Email message body.
  • 'headers'
    (string) Any email headers. Default empty.

$failures

(int) The number of failures encountered while upgrading.

$results

(mixed) The results of all attempted updates.


Top ↑

Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.