Handle unexpected shutdown.
$this->action_id, $error
Sortie :
// Ajouter une fonction au hook action 'action_scheduler_unexpected_shutdown'
add_action('action_scheduler_unexpected_shutdown', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($this->action_id, $error) {
// Votre code ici
error_log('Hook action_scheduler_unexpected_shutdown déclenché');
}
Chargement des actualités...