Created
November 13, 2024 14:05
-
-
Save propertyhive/16b2108be21743a59d9ecc105c05d6c0 to your computer and use it in GitHub Desktop.
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
add_filter( "houzez_property_feed_properties_due_import_alto", 'specific_firmid', 10, 2 ); | |
function specific_firmid( $properties, $import_id ) | |
{ | |
$new_properties = array(); | |
foreach ( $properties as $property ) | |
{ | |
$property_attributes = $property->attributes(); | |
if ( (string)$property_attributes['firmid'] == '38942' ) | |
{ | |
$new_properties[] = $property; | |
} | |
} | |
return $new_properties; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment