WordPress at a glance
function is not described

wc_format_coupon_code() WC 3.0.0

Format a coupon code.

Hooks from the function
Return

String. Nothing.

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 5.3.0

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