WordPress at Your Fingertips
function is not described

wc_format_refund_total() WC 1.0

Make a refund total negative.

No Hooks.

Return

float.

Usage

wc_format_refund_total( $amount );
$amount(float) (required)
Refunded amount.

Code of wc_format_refund_total() WC 6.1.1

function wc_format_refund_total( $amount ) {
	return $amount * -1;
}