wc_format_refund_total()
Make a refund total negative.
No Hooks.
Returns
float.
Usage
wc_format_refund_total( $amount );
- $amount(float) (required)
- Refunded amount.
wc_format_refund_total() wc format refund total code WC 10.5.0
function wc_format_refund_total( $amount ) {
return $amount * -1;
}