Help Desk

google map link

  • | Permalink

    I tried the code below to fetch the google map raw URL. But it didn’t work. Can anyone help?

    $events = tribe_get_events();
    foreach( $events as $event ) {
       $event_id = get_the_ID();
       echo tribe_get_map_link( $event_id );
    }
    
    Posts: 9241
    | Permalink

    Hi, Ryan.

    get_the_ID() isn’t what you want to use here. You should replace it with $event->ID

    That being said… you posted in our Pre-Sales forum from a user account that doesn’t have any purchases associated with it.

    We don’t answer support questions for The Events Calendar core/free or Event Tickets core/free or their paid add-ons in the Pre-Sales forum.

    If you made your purchase(s) through a different user account, please login to that account and then post in one of the paid forums.

    Thank you for your understanding and thank you for using our plugins.

    ===

    Possibly helpful references:

I Would like to:



Subscribe to Updates


Leave a Reply



Status:

Need to share a file or image? You can upload images to any of the following sites, then share the image URLs in your thread: Imgur, Flickr, CloudUp. To share code, please consider using Gist.

Create New Topic





Need to share a file or image? You can upload images to any of the following sites, then share the image URLs in your thread: Imgur, Flickr, CloudUp. To share code, please consider using Gist.