I was wondering what hook i would use to geo-locate a custom post type when it is saved?
I have a Custom post type of Restaurant and I want to geolocate the address using googles api and then save it into another field(s)
On post save the 'save_post' action is run. You could hook your function that geolocates to that.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago