WC_Order::get_total_shipping_refunded PHP Method

get_total_shipping_refunded() public method

Get the total shipping refunded.
Since: 2.4
    public function get_total_shipping_refunded()
    {
        return $this->data_store->get_total_shipping_refunded($this);
    }

Usage Example

Beispiel #1
0
 /**
  * Test: get_total_shipping_refunded
  */
 function test_get_total_qty_refunded()
 {
     $object = new WC_Order();
     $this->assertEquals(0, $object->get_total_shipping_refunded());
 }
WC_Order