auto_plugin_theme_update_email

FILTER wp-admin\includes\class-wp-automatic-updater.php (ligne 1541) github
Filters the email sent following an automatic background update for plugins and themes.

Paramètres

Entrée :
$email, $type, $successful_updates, $failed_updates
Sortie :
@param array  $email {
@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.

Utilisation

// Modifier la valeur avec le filtre 'auto_plugin_theme_update_email'
add_filter('auto_plugin_theme_update_email', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($email) {
    // Modifier la valeur
    return $email;
}

Actualités

Chargement des actualités...