Filter hook 'auto_plugin_theme_update_email'
in WP Core File wp-admin/includes/class-wp-automatic-updater.php at line 1522
Description
Filters the email sent following an automatic background update for plugins and themes. can be returned, as handled by wp_mail(). }
Occurrences
Filename |
Line Number |
wp-admin/includes/class-wp-automatic-updater.php |
1522 |
Parameters
Type |
Name |
Description |
array |
$email |
{ Array of email arguments that will be passed to wp_mail(). |
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. |
PHP Doc
/**
* 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.
*/