action_scheduler_completed_action

ACTION woocommerce\packages\action-scheduler\classes\data-stores\ActionScheduler_wpPostStore.php (ligne 1028) github
Fires after a scheduled action has been completed.

Paramètres

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

Utilisation

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

function ma_fonction_personnalisee($action_id) {
    // Votre code ici
    error_log('Hook action_scheduler_completed_action déclenché');
}

Actualités

Chargement des actualités...