Introduced 'woocommerce_ajax_calc_line_taxes' filter.
This commit is contained in:
parent
b79a98bc87
commit
f105664805
|
@ -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'] ) ) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue