Merge pull request #9332 from Biont/master

WC_AJAX::calc_line_taxes - Provide a filter after tax calculations are done
This commit is contained in:
Mike Jolley 2015-10-22 09:17:57 -06:00
commit 2a651ce64b
1 changed files with 2 additions and 0 deletions

View File

@ -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 );