Change '+ Google Map' text

Home Forums Calendar Products Events Calendar PRO Change '+ Google Map' text

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #98561
    integrity
    Participant

    On my events I show the ‘+ Google Map’ link along with the embedded map so that users can click the link and be taken to the actual map to get directions if needed. I found that the text for this link is defined in the /public/advanced-functions/meta.php file on line 283. I know I should not edit this file as it is a core file of the plugin. Can you please offer a solution to change the text of this link without editing meta.php? I would like the link to say ‘Get Directions’. Thanks.

    #98786
    integrity
    Participant

    Figured it out by hooking into the tribe_event_meta_gmap_link filter and adding my own filter that calls a function to change this text.

    #98792
    Casey
    Participant

    Great! Glad you were able to figure this out. Since you’re all set, I’m going to close this thread out. Feel free to start a new thread if you have further questions. Thanks! 🙂

    -Casey-

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change '+ Google Map' text’ is closed to new replies.