WC_Order::get_remaining_refund_amount()publicWC 1.0

How much money is left to refund?

{} Это метод класса: WC_Order{}

Хуков нет.

Возвращает

Строку.

Использование

$WC_Order = new WC_Order();
$WC_Order->get_remaining_refund_amount();

Код WC_Order::get_remaining_refund_amount() WC 6.9.4

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