woocommerce_format_localized_decimal filter-hook . WC 1.0
Format a decimal with PHP Locale settings.
Usage
add_filter( 'woocommerce_format_localized_decimal', 'filter_function_name_3253' ); function filter_function_name_3253( $value ){ // filter... return $value; }
- $value
- -
Where the hook is called
woocommerce_format_localized_decimal
woocommerce/includes/wc-formatting-functions.php 355
return apply_filters( 'woocommerce_format_localized_decimal', str_replace( '.', $locale['decimal_point'], strval( $value ) ), $value );