Automattic\WooCommerce\Internal\Admin

Analytics::get_refund_double_count_batch_size │ private static │ WC 1.0

Maximum number of affected parent orders re-imported per fix batch.

Method of the class: Analytics{}

Returns

int.

Usage

$result = Analytics::get_refund_double_count_batch_size(): int;

Analytics::get_refund_double_count_batch_size() code WC 11.3.0

private static function get_refund_double_count_batch_size(): int {
	/**
	 * Filters the maximum number of parent orders re-imported per double-counted refunds fix batch.
	 *
	 * @since 11.2.0
	 *
	 * @param int $batch_size Maximum parent orders per batch.
	 */
	return max( 1, (int) apply_filters( 'woocommerce_analytics_refund_double_count_batch_size', self::REFUND_DOUBLE_COUNT_BATCH_SIZE ) );
}