Support » Plugin: The Events Calendar » tribe_create_venue() country code not converting

  • Hey,

    The documentation for the tribe_create_venue() function says that we should pass through the country code. However, this does not seem to be working properly for me.

    I assume that internally it is supposed to map to the country name and store that, but the value is stored as the country code in the venue’s post meta. On the “edit venue” screen the country dropdown is therefore blank until I override it.

    https://wordpress.org/plugins/the-events-calendar/

Viewing 1 replies (of 1 total)
  • Brook

    (@brook-tribe)

    Modern Tribe Support Rep

    Howdy dabernathy89,

    It would seem our docs are a bit out of date there. You actually want to past the full text now. If the country is the UK then “United Kingdom” should work.

    Thanks for bringing this to our attention. Does that answer your question? Cheers!
    – Brook

Viewing 1 replies (of 1 total)
  • The topic ‘tribe_create_venue() country code not converting’ is closed to new replies.