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.8.1

apply_filters('wc_get_price_decimal_separator') is found 1 times:

  • /includes/wc-formatting-functions.php line 528
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    * @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.
     *