action_scheduler_after_process_queue

action_scheduler_after_process_queue

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

do_action('action_scheduler_after_process_queue') is found 2 times:

  • /packages/action-scheduler/classes/ActionScheduler_QueueRunner.php line 163
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
                $this->processed_actions_count += $processed_actions_in_batch;
            } while ( $processed_actions_in_batch > 0 && ! $this->batch_limits_exceeded( $this->processed_actions_count ) ); // keep going until we run out of actions, time, or memory.
        }
     
        do_action( 'action_scheduler_after_process_queue' );
        return $this->processed_actions_count;
    }
     
    /**
     * Process a batch of actions pending in the queue.
     *
  • /packages/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php line 128
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
        $completed = $this->progress_bar->current();
        $this->progress_bar->finish();
        $this->store->release_claim( $this->claim );
        do_action( 'action_scheduler_after_process_queue' );
     
        return $completed;
    }
     
    /**
     * Handle WP CLI message when the action is starting.

See this hook used in plugins: