Automattic\WooCommerce\Internal\Admin
Analytics::get_refund_double_count_batch_size
Maximum number of affected parent orders re-imported per fix batch.
Method of the class: Analytics{}
Hooks from the method
Returns
int.
Usage
$result = Analytics::get_refund_double_count_batch_size(): int;
Analytics::get_refund_double_count_batch_size() 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 ) );
}