action_scheduler/migration_batch_size хук-фильтрWC 1.0

Get migration batch size.

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

add_filter( 'action_scheduler/migration_batch_size', 'wp_kama_action_scheduler_migration_batch_size_filter' );

/**
 * Function for `action_scheduler/migration_batch_size` filter-hook.
 * 
 * @param  $250 
 *
 * @return 
 */
function wp_kama_action_scheduler_migration_batch_size_filter( $250 ){

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

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

Scheduler::get_batch_size()
action_scheduler/migration_batch_size
woocommerce/packages/action-scheduler/classes/migration/Scheduler.php 114
return (int) apply_filters( 'action_scheduler/migration_batch_size', 250 );

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

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