- This topic has 6 replies, 2 voices, and was last updated 1 year ago by .
I created a google field and added my google api
It works but does not save anything.
I also made sure to add a text field that is mapped to the google field such as described in the doc:
The Code that AIO generates is this:
'fields' => [ [ 'id' => $prefix . 'some_random_field', 'type' => 'text', 'name' => esc_html__( 'Saved Natively Text', 'text-domain' ), ], [ 'id' => $prefix . 'map_field', 'type' => 'map', 'name' => esc_html__( 'Map', 'text-domain' ), 'address_field' => 'address', 'api_key' => 'SECRET', ], [ 'id' => $prefix . 'address', 'type' => 'text', 'name' => esc_html__( 'Text Field', 'text-domain' ), ], ],
I use AIO so there is no code in the theme
But just to be sure I also tried to add it in the theme, which still does not save the address or anything similar to what I see
Strange enough - this works
- You must be logged in to reply to this topic.