action_scheduler_queue_runner_concurrent_batches хук-фильтрWC 1.0

Get the number of concurrent batches a runner allows.

Использование

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
-

Где вызывается хук

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

Где используется хук в WooCommerce

Использование не найдено.