wc_get_price_decimal_separator()WC 2.3

Return the decimal separator for prices.

Хуки из функции

Возвращает

Строку.

Использование

wc_get_price_decimal_separator();

Список изменений

С версии 2.3 Введена.

Код wc_get_price_decimal_separator() WC 8.6.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 ) : '.';
}