• Resolved fdmorais

    (@fdmorais)


    is there any way to modify the plugng in to jus return, lat and lng?

    ex: ” 39.47243766255,-6.78325681336 “

    • This topic was modified 6 months, 1 week ago by  fdmorais.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    return where? In the mail you have the lat and lng mail tags you can add to your notification message.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I am assuming you’ve got this resolved?

    So just to recap, the mail tag returns the lat,lng.
    The forms submits a $_POST['lat-<map-field-name'] and a $_POST['lng-<map-field-name'] which you can access by hooking the cf7 action hook wpcf7_mail_sent as well as wpcf7_mail_failed just in case the mail failed but the form still submitted successfully.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    WP Moderator – is it possible to re-title this thread as “How to retrieve the submitted lat, lng?”

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    WP Moderator – is it possible to re-title this thread as “How to retrieve the submitted lat, lng?”

    There is no need to do that as you’re already discussing this with the poster. Anyone else can start their own topic.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    @jdembowski my point is that I want to re-title threads so make it easier for users to find the information/solution. @otto42 suggested I try to ask moderators to do this, but I am not sure how to go about it.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    You asked and I answered.

    There is no need to do that as you’re already discussing this with the poster. Anyone else can start their own topic.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    The correct way to ask the moderators for assistance is on the slack, in the #forums channel.

    yes, I did got this resolved

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