wc_get_price_decimal_separator

wc_get_price_decimal_separator

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('wc_get_price_decimal_separator') is found 1 times:

  • /includes/wc-formatting-functions.php line 528
     * @since  2.3
     * @return string
     */
    function wc_get_price_decimal_separator() {
    	$separator = apply_filters( 'wc_get_price_decimal_separator', get_option( 'woocommerce_price_decimal_sep' ) );
    	return $separator ? stripslashes( $separator ) : '.';
    }
    
    /**
     * Return the number of decimals after the decimal point.
     *