Saving Data from Custom Meta Box Using Google Places API
-
Hi all, I’m working on a simple event manager plugin. This is the most complex plugin I’ve ever tried building myself, so bear with me if this is a newbie level question.
I have the plugin create a custom post type (working) with a custom meta box for the address. The box is showing up fine, as are the inputs and the working Google Places API to fill in the address. However, the values are not saving to the database when I update the post. I’ve tried a few different ways to put it together, but get an error each time.
Gist with plugin code available here: https://gist.github.com/NarrowBridgeMedia/6edb7b01760fbc2d1aaaeb7fd310b678
That link includes the working code for the meta box that is not saving correctly. Any ideas what I need to add to get the data to save and recall from the database?
Thanks!
- The topic ‘Saving Data from Custom Meta Box Using Google Places API’ is closed to new replies.