WordPress at Your Fingertips
function is not described

wc_format_coupon_code() WC 3.0.0

Format a coupon code.

Hooks from the function

Return

String.

Usage

wc_format_coupon_code( $value );
$value(string) (required)
Coupon code to format.

Changelog

Since 3.0.0 Introduced.

Code of wc_format_coupon_code() WC 6.1.0

function wc_format_coupon_code( $value ) {
	return apply_filters( 'woocommerce_coupon_code', $value );
}