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