return where? In the mail you have the lat and lng mail tags you can add to your notification message.
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.
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.
@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.
The correct way to ask the moderators for assistance is on the slack, in the #forums channel.
yes, I did got this resolved