Created
September 20, 2017 16:36
-
-
Save psaikali/e2dcc4f08ca2ba773624f008e635d95a to your computer and use it in GitHub Desktop.
Remplacer la virgule "," des prix WooCommerce par un point "."
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Séparation des décimales des prix WooCommerce : remplacer la virgule par un point | |
*/ | |
function msk_wc_price_args($args) { | |
$args['decimal_separator'] = ','; | |
return $args; | |
} | |
add_filter('wc_price_args', 'msk_wc_price_args'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment