WordPress开发者和主题制作者的搜索引擎



automatic_updates_debug_email ›

Since3.8.0
已弃用n/a
apply_filters( 'automatic_updates_debug_email', $email, $failures, $this->update_results )
参数: (3)
  • (array) $email { 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. }
    Required: Yes
  • (int) $failures The number of failures encountered while upgrading.
    Required: Yes
  • (mixed) $results The results of all attempted updates.
    Required: Yes
定义在:
文档:

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





源码

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