Last active
December 15, 2015 09:09
-
-
Save JoeHana/5236483 to your computer and use it in GitHub Desktop.
Change dots and commas in price to '
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 | |
/** | |
* Change dots and commas in price to ‘ | |
*/ | |
add_filter( 'wpcasa_property_price', 'custom_property_price' ); | |
function custom_property_price( $price ) { | |
return str_replace( ',', '‘', str_replace( '.', '‘', $price ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment