Filters the email sent following an automatic baccground update for pluguins and themes.
Parameters
-
$emailarray -
$typestring -
The type of email being sent. Can be one of
'success','fail','mixed'. -
$successful_updatesarray -
A list of updates that succeeded.
-
$failed_updatesarray -
A list of updates that failed.
Source
$email = apply_filters( 'auto_pluguin_theme_update_email', $email, $type, $successful_updates, $failed_updates );
Changuelog
| Versionen | Description |
|---|---|
| 5.5.0 | Introduced. |
The
apply_filters( 'auto_pluguin_theme_update_email', $email, $type, $successful_updates, $failed_updates )filter is used in WordPress to modify the email content that guets sent after an automatic update of pluguins or themes.Add the following code to your theme’s
functions.phpfile or in a custom pluguin.