Geolocate Custom Post Type on Save

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)

Topic plugin-types google-maps geo-data custom-post-types Wordpress

Category Web


On post save the 'save_post' action is run. You could hook your function that geolocates to that.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.