mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-02 12:02:25 +08:00
5 lines
206 B
Text
5 lines
206 B
Text
add_filter( 'woocommerce_format_price_range', 'custom_format_price_range', 10, 3 );
|
|
function custom_format_price_range( $price ) {
|
|
$price = str_replace('–', '/', $price);
|
|
return $price;
|
|
}
|