action_scheduler_queue_runner_concurrent_batches filter-hookWC 1.0

Get the number of concurrent batches a runner allows.

Usage

add_filter( 'action_scheduler_queue_runner_concurrent_batches', 'wp_kama_action_scheduler_queue_runner_concurrent_batches_filter' );

/**
 * Function for `action_scheduler_queue_runner_concurrent_batches` filter-hook.
 * 
 * @param  $1 
 *
 * @return 
 */
function wp_kama_action_scheduler_queue_runner_concurrent_batches_filter( $1 ){

	// filter...
	return $1;
}
$1
-

Where the hook is called

ActionScheduler_Abstract_QueueRunner::get_allowed_concurrent_batches()
action_scheduler_queue_runner_concurrent_batches
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php 238
return apply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 );

Where the hook is used in WooCommerce

Usage not found.