Abstract_WC_Order_Data_Store_CPT::get_total_shipping_refundedpublicWC 1.0

Get the total shipping 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_shipping_refunded( $order );
$order(WC_Order) (required)
Order object.

Abstract_WC_Order_Data_Store_CPT::get_total_shipping_refunded() code WC 10.7.0

public function get_total_shipping_refunded( $order ) {
	return $this->get_refunded_item_meta_total( $order, 'shipping', array( 'cost' ) );
}