action_scheduler_queue_runner_concurrent_batches

action_scheduler_queue_runner_concurrent_batches

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('action_scheduler_queue_runner_concurrent_batches') is found 1 times:

  • /packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 250
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    *
     * @return int
     */
    public function get_allowed_concurrent_batches() {
        return apply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 );
    }
     
    /**
     * Check if the number of allowed concurrent batches is met or exceeded.
     *
     * @return bool