Skip to content

Instantly share code, notes, and snippets.

@propertyhive
Created August 27, 2025 14:58
Show Gist options
  • Save propertyhive/9125816f9eb2b2a3e2746986bce63e94 to your computer and use it in GitHub Desktop.
Save propertyhive/9125816f9eb2b2a3e2746986bce63e94 to your computer and use it in GitHub Desktop.
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