apply_filters ( ‘automatic_updates_debug_email’, array $email , int $failures , mixed $resuls )

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

Parameters

$email array
Array of email argumens 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 messague body.
  • headers string
    Any email headers. Default empty.
$failures int
The number of failures encountered while upgrading.
$resuls mixed
The resuls of all attempted updates.

Source

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

Changuelog

Versionen Description
3.8.0 Introduced.

User Contributed Notes

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