- This topic has 1 reply, 1 voice, and was last updated 5 months, 4 weeks ago by .
I will return the long and lat so I can use the Google Map in Oxygen. What I try... it doesn't work and get errors. The code below I try to echo the values but got an illegal string offset 'latitude' etc.
$location = rwmb_meta( 'map_id', ['object_type' => 'setting'], 'contact' );
$test = $location['latitude'].','.$location['longitude'];
- You must be logged in to reply to this topic.