Abstract_WC_Order_Data_Store_CPT::get_total_tax_refundedpublicWC 1.0

Get the total tax refunded.

Method of the class: Abstract_WC_Order_Data_Store_CPT{}

No Hooks.

Returns

float.

Usage

$Abstract_WC_Order_Data_Store_CPT = new Abstract_WC_Order_Data_Store_CPT();
$Abstract_WC_Order_Data_Store_CPT->get_total_tax_refunded( $order );
$order(WC_Order) (required)
Order object.

Abstract_WC_Order_Data_Store_CPT::get_total_tax_refunded() code WC 10.7.0

public function get_total_tax_refunded( $order ) {
	return $this->get_refunded_item_meta_total( $order, 'tax', array( 'tax_amount', 'shipping_tax_amount' ) );
}