diff --git a/includes/class-wc-ajax.php b/includes/class-wc-ajax.php index d3c05517658..68da0b8e59c 100644 --- a/includes/class-wc-ajax.php +++ b/includes/class-wc-ajax.php @@ -1672,6 +1672,8 @@ class WC_AJAX { $items['order_taxes'][ $tax_id ] = absint( $tax_item['rate_id'] ); } + $items = apply_filters( 'woocommerce_ajax_after_calc_line_taxes', $items, $order_id, $country, $_POST ); + // Save order items wc_save_order_items( $order_id, $items );