WordPress at Your Fingertips
function is not described

WC_Order_Refund::get_formatted_refund_amount() public WC 2.4

Get formatted refunded amount.

{} It's a method of the class: WC_Order_Refund{}

Hooks from the method

Return

String.

Usage

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

Changelog

Since 2.4 Introduced.

Code of WC_Order_Refund::get_formatted_refund_amount() WC 5.8.0

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