Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/class-wp-automatic-updater.php | apply_filters | 1292 | /** * Filters the email sent following an automatic background update for plugins and themes. * * @since 5.5.0 * * @param 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 The email's subject. * @type string $body The email message body. * @type string $headers Any email headers, defaults to no headers. * } * @param string $type The type of email being sent. Can be one of 'success', 'fail', 'mixed'. * @param array $successful_updates A list of updates that succeeded. * @param array $failed_updates A list of updates that failed. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $emai | l { |
string | $type | The type of email being sent. Can be one of 'success', 'fail', 'mixed'. |
array | $successful_updates | A list of updates that succeeded. |
array | $failed_updates | A list of updates that failed. |