Filters the email sent following an automatic background update for plugins and themes.
Parameters
$email
array$type
string- The type of email being sent. Can be one of
'success'
,'fail'
,'mixed'
. $successful_updates
array- A list of updates that succeeded.
$failed_updates
array- A list of updates that failed.
Source
$email = apply_filters( 'auto_plugin_theme_update_email', $email, $type, $successful_updates, $failed_updates );
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |
The
apply_filters( 'auto_plugin_theme_update_email', $email, $type, $successful_updates, $failed_updates )
filter is used in WordPress to modify the email content that gets sent after an automatic update of plugins or themes.Add the following code to your theme’s
functions.php
file or in a custom plugin.