action_scheduler/progress_tick

ACTION woocommerce\packages\action-scheduler\classes\WP_CLI\ProgressBar.php (ligne 87) github
Increment the progress bar ticks.

Paramètres

Entrée :
$this->total_ticks
Sortie :
N/A

Utilisation

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

function ma_fonction_personnalisee($this->total_ticks) {
    // Votre code ici
    error_log('Hook action_scheduler/progress_tick déclenché');
}

Actualités

Chargement des actualités...