auto_core_update_email
最后更新于:2021-11-25 21:11:04
apply_filters( ‘auto_core_update_email’, array $email, string $type, object $core_update, mixed $result )
Filters the email sent following an automatic background core update.
参数
-
(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) The email’s subject. -
‘body’
(string) The email message body. -
‘headers’
(string) Any email headers, defaults to no headers.
-
‘to’
- $type
-
(string)
The type of email being sent. Can be one of ‘success’, ‘fail’, ‘manual’, ‘critical’. - $core_update
-
(object)
The update offer that was attempted. - $result
-
(mixed)
The result for the core update. Can be GC_Error.
源文件
文件: gc-admin/includes/class-gc-automatic-updater.php