Filters whether to send an email following an automatic background core update.
true, $type, $core_update, $result
Sortie :
@param bool $send Whether to send the email. Default true. @param string $type The type of email to send. 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.
// Modifier la valeur avec le filtre 'auto_core_update_send_email'
add_filter('auto_core_update_send_email', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(true) {
// Modifier la valeur
return true;
}
Chargement des actualités...