WC_Order::get_remaining_refund_amount()

How much money is left to refund?


Description Description


Return Return

(string)


Top ↑

Source Source

File: includes/class-wc-order.php

2013
2014
2015
public function get_remaining_refund_amount() {
    return wc_format_decimal( $this->get_total() - $this->get_total_refunded(), wc_get_price_decimals() );
}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.