Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Get the distance for use in a custom function

$
0
0

Replies: 0

Hello,
Is there a way that I can retrieve the distance to use in a calculation? For example I would like to write a functions to display the estimated cost in fuel for someone to drive from their current location to the store.

I know the distance is outputted with the underscore function <%= distance %> but not sure how I can retrieve that value?

Thanks


Viewing all articles
Browse latest Browse all 59525

Trending Articles