WordPress at Your Fingertips
function is not described

wc_get_price_decimal_separator() WC 2.3

Return the decimal separator for prices.

Hooks from the function

Return

String.

Usage

wc_get_price_decimal_separator();

Changelog

Since 2.3 Introduced.

Code of wc_get_price_decimal_separator() WC 6.1.1

function wc_get_price_decimal_separator() {
	$separator = apply_filters( 'wc_get_price_decimal_separator', get_option( 'woocommerce_price_decimal_sep' ) );
	return $separator ? stripslashes( $separator ) : '.';
}