Created
October 21, 2025 11:05
-
-
Save propertyhive/98a30e8646927e4276f0e4c40b455865 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_action( "propertyhive_property_imported_street_json", 'set_low_profile', 10, 2 ); | |
| function set_low_profile($post_id, $property) | |
| { | |
| $low_profile = ''; | |
| if ( isset($property['salesListing']['is_low_profile']) && $property['salesListing']['is_low_profile'] === true ) | |
| { | |
| $low_profile = 'yes'; | |
| } | |
| update_post_meta( $post_id, '_low_profile', $low_profile ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment