Update Post meta in Google Maps Field programmatically

Support General Update Post meta in Google Maps Field programmatically

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44261

    Hello everyone I have a text field which is a map autocomplete field. I need to udpate the field (and the map) programmatically. I tried with update_post_meta which it seems that is working but although it changes the value I need to hit the "update" post button to make it work.

    Is there any function that really saves this value? Thanks!

    #44267
    PeterPeter
    Moderator

    Hello,

    The function update_post_meta() updates the value in the database, why do you need to click on the Update button? Is the new value not displayed in the frontend after using the function update_post_meta()?
    Please share some screenshots of the issue on your site.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.