Created
November 15, 2022 14:57
-
-
Save propertyhive/b0e4a11e35df3cc0b549808007fe5be2 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_action( "propertyhive_property_imported_street_json", 'custom_street_hook', 10, 2 ); | |
function custom_street_hook($post_id, $property) | |
{ | |
// do stuff here. e.g: | |
// update_post_meta( $post_id, '_my_custom_field', $property['street_field'] ); | |
// var_dump($property); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment