WC_Order::get_remaining_refund_amount() public WC 1.0
How much money is left to refund?
{} It's a method of the class: WC_Order{}
No Hooks.
Return
String.
Usage
$WC_Order = new WC_Order(); $WC_Order->get_remaining_refund_amount();
Code of WC_Order::get_remaining_refund_amount() WC Order::get remaining refund amount WC 5.0.0
public function get_remaining_refund_amount() {
return wc_format_decimal( $this->get_total() - $this->get_total_refunded(), wc_get_price_decimals() );
}