Introduced 'woocommerce_ajax_calc_line_taxes' filter.

This commit is contained in:
Barry Kooij 2014-12-02 12:57:53 +01:00
parent b79a98bc87
commit f105664805
1 changed files with 3 additions and 0 deletions

View File

@ -1245,6 +1245,9 @@ class WC_AJAX {
}
$items['order_taxes'] = array();
// Action
$items = apply_filters( 'woocommerce_ajax_calc_line_taxes', $items, $order_id, $country, $_POST );
// Get items and fees taxes
if ( isset( $items['order_item_id'] ) ) {