action_scheduler_failed_fetch_action

ACTION woocommerce\packages\action-scheduler\classes\data-stores\ActionScheduler_wpPostStore.php (ligne 200) github
Fetch actions.

Paramètres

Entrée :
$post->ID, $exception
Sortie :
@param int $action_id Action ID.
@return object

Utilisation

// 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é');
}

Actualités

Chargement des actualités...