action_scheduler/progress_tick
Usage
add_action( 'action_scheduler/progress_tick', 'wp_kama_action_scheduler_progress_tick_action' ); /** * Function for `action_scheduler/progress_tick` action-hook. * * @param $total_ticks * * @return void */ function wp_kama_action_scheduler_progress_tick_action( $total_ticks ){ // action... }
- $total_ticks
- -
Where the hook is called
action_scheduler/progress_tick
woocommerce/packages/action-scheduler/classes/WP_CLI/ProgressBar.php 87
do_action( 'action_scheduler/progress_tick', $this->total_ticks ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
Where the hook is used in WooCommerce
woocommerce/packages/action-scheduler/classes/ActionScheduler_DataController.php 188
add_action( 'action_scheduler/progress_tick', array( 'ActionScheduler_DataController', 'maybe_free_memory' ) );