Fetch actions.
$post->ID, $exception
Sortie :
@param int $action_id Action ID. @return object
// Ajouter une fonction au hook action 'action_scheduler_failed_fetch_action'
add_action('action_scheduler_failed_fetch_action', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($post->ID, $exception) {
// Votre code ici
error_log('Hook action_scheduler_failed_fetch_action déclenché');
}
Chargement des actualités...