Filters whether to send an email following an automatic background plugin update.
true, $update_results['plugin']
Sortie :
@param bool $enabled True if plugin update notifications are enabled, false otherwise. @param array $update_results The results of plugins update tasks.
// Modifier la valeur avec le filtre 'auto_plugin_update_send_email'
add_filter('auto_plugin_update_send_email', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(true) {
// Modifier la valeur
return true;
}
Chargement des actualités...