automatic_updates_debug_email

最后更新于:2021-11-25 21:02:25

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.

参数

$email

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

  • ‘to’
    (string) The email recipient. An array of emails can be returned, as handled by gc_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.

源文件

文件: gc-admin/includes/class-gc-automatic-updater.php

View on Trac