Last active
January 12, 2026 18:44
-
-
Save propertyhive/90274ad4dd689881d0887a3140d21a37 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_update_postarr', 'keep_title', 10, 4 ); | |
| function keep_title($data, $property, $import_id, $post_id) | |
| { | |
| if ( empty($post_id)) | |
| { | |
| return $data; | |
| } | |
| $post = get_post( $post_id ); | |
| $data['post_title'] = $post->post_title; | |
| return $data; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment