- availability:
-
WooCommerce Multilingual Version: 4.11.0
- description:
-
Allows overriding of adjusted order item
- type:
- filter
- category:
- Orders
- parameters:
-
- $language
- (string) Order item language to filter
- $order
- (WC_Order) WC order
- hook example usage:
-
add_filter( ‘wcml_should_save_adjusted_order_item_in_language’, function ( $adjusted_order_item, $item, $language_to_filter ) {
return false;
}, 10, 3 );