The Houzez data bridge automatically syncs data from Property Hive into Houzez.
Enabling
Once the add on is installed and activated, a new settings area will appear under 'Property Hive > Settings > Houzez'.
From here you can choose whether the sync is enabled or not.
Once enabled, data syncs will happen every 15 minutes.
Available Hooks
We have one hook available should you wish to customise any of the data synced. This action is called 'propertyhive_houzez_property_synced' and an example of using it can be found below:
add_action( "propertyhive_houzez_property_synced", "custom_houzez_sync_code" ); // $post_id - The Post ID of the property in WordPress // $synced (true/false) - Whether the property was synced or not. // Only properties that have been modified since the last time the sync ran will be synced function custom_houzez_sync_code( $post_id, $synced ) { // Do custom sync code here }