WC_Order_Refund::get_formatted_refund_amountpublicWC 2.4

Get formatted refunded amount.

Method of the class: WC_Order_Refund{}

Hooks from the method

Returns

String.

Usage

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

Changelog

Since 2.4 Introduced.

WC_Order_Refund::get_formatted_refund_amount() code WC 9.9.4

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