Automattic\WooCommerce\Internal\Admin

Analytics::get_refund_double_count_range_size │ private static │ WC 1.0

Number of order IDs checked per fix batch.

Method of the class: Analytics{}

Returns

int.

Usage

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

Analytics::get_refund_double_count_range_size() code WC 11.3.0

private static function get_refund_double_count_range_size(): int {
	/**
	 * Filters the number of order IDs checked per double-counted refunds fix batch.
	 *
	 * @since 11.2.0
	 *
	 * @param int $range_size Order IDs per batch.
	 */
	return max( 1, (int) apply_filters( 'woocommerce_analytics_refund_double_count_range_size', self::REFUND_DOUBLE_COUNT_RANGE_SIZE ) );
}