auto_core_update_email

FILTER wp-admin\includes\class-wp-automatic-updater.php (ligne 1147) github
Filters the email sent following an automatic background core update.

Paramètres

Entrée :
$email, $type, $core_update, $result
Sortie :
@param array $email {
@param string $type        The type of email being sent. Can be one of
@param object $core_update The update offer that was attempted.
@param mixed  $result      The result for the core update. Can be WP_Error.

Utilisation

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

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

Actualités

Chargement des actualités...