wc_get_price_decimal_separator()
Return the decimal separator for prices.
Hooks from the function
Return
String
.
Usage
wc_get_price_decimal_separator();
Changelog
Since 2.3 | Introduced. |
wc_get_price_decimal_separator() wc get price decimal separator code WC 9.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 ) : '.'; }