I am using the google maps plugin.
I am generating posts using data gathered in a form. This form includes an address which is entered into the [location] shortcode upon post creation.
I suspect the post creation is generating a map based on the shortcode in the post creation template, this combined with the created post results in two of the same maps.
My first solution is to suppress the [location] shortcode from executing when creating the post.
An alternate approach would be to add an action to the post creation that would immediately delete the map created in the template prior to the second map which is accurately associated with post.
I am hopeful the first solution is available...I have some memory of suppressing shortcodes, but I am not sure if I can do it on an individual basis, as I need other shortcodes to execute in the same post_create content.
Thank you for your consideration.