Fires after all automatic updates have run.
$this->update_results
Sortie :
@param array $update_results The results of all attempted updates.
// Ajouter une fonction au hook action 'automatic_updates_complete'
add_action('automatic_updates_complete', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($this->update_results) {
// Votre code ici
error_log('Hook automatic_updates_complete déclenché');
}
Chargement des actualités...