WC_Order_Refund::get_formatted_refund_amount()publicWC 2.4

Get formatted refunded amount.

Метод класса: WC_Order_Refund{}

Хуки из метода

Возвращает

Строку.

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

$WC_Order_Refund = new WC_Order_Refund();
$WC_Order_Refund->get_formatted_refund_amount();

Список изменений

С версии 2.4 Введена.

Код WC_Order_Refund::get_formatted_refund_amount() WC 9.4.2

public function get_formatted_refund_amount() {
	return apply_filters( 'woocommerce_formatted_refund_amount', wc_price( $this->get_amount(), array( 'currency' => $this->get_currency() ) ), $this );
}