Created
February 18, 2026 11:26
-
-
Save propertyhive/bdeaaa88083f3039858c09f237eccb01 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_resales_online", 'malaga_only', 10, 2 ); | |
| function malaga_only($properties, $import_id) | |
| { | |
| $new_properties = array(); | |
| foreach ( $properties as $property ) | |
| { | |
| if ( (string)$property->province == 'Málaga' ) | |
| { | |
| $new_properties[] = $property; | |
| } | |
| } | |
| return $new_properties; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment