Created
August 27, 2025 14:58
-
-
Save propertyhive/9125816f9eb2b2a3e2746986bce63e94 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| add_filter( "houzez_property_feed_properties_due_import_reaxml", 'remove_commas_from_price', 10, 2 ); | |
| function remove_commas_from_price( $properties, $import_id ) | |
| { | |
| foreach ( $properties as $property ) | |
| { | |
| if ( isset($property->priceView) ) | |
| { | |
| $property->priceView = str_replace(",", "", (string)$property->priceView); | |
| } | |
| } | |
| return $properties; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment