action_scheduler_failed_to_schedule_next_instance

ACTION woocommerce\packages\action-scheduler\classes\abstracts\ActionScheduler_Abstract_QueueRunner.php (ligne 179) github
Schedule the next instance of the action if necessary.

Paramètres

Entrée :
$action_id, $e, $action
Sortie :
@param ActionScheduler_Action $action Action.
@param int                    $action_id Action ID.

Utilisation

// Ajouter une fonction au hook action 'action_scheduler_failed_to_schedule_next_instance'
add_action('action_scheduler_failed_to_schedule_next_instance', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee($action_id, $e, $action) {
    // Votre code ici
    error_log('Hook action_scheduler_failed_to_schedule_next_instance déclenché');
}

Actualités

Chargement des actualités...