Skip Navigation
availability:

WooCommerce Multilingual Version: 4.11.0

description:

Allows the ability to override translating order items.

type:
filter
category:
Orders
parameters:
$translate_order_items
(bool) True if we should translate order items
$items

(WC_Order_Item[]) Order items
$order
(WC_Order) WC order
hook example usage:
add_filter( 'wcml_should_translate_order_items', function ( $translate_order_items, $items, $order ) {
	return false;
}, 10, 3 );