Venue API bugs and missing features

Home Forums Calendar Products Events Calendar PRO Venue API bugs and missing features

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #946782
    ecdave
    Participant

    I’m writing a service layer to automatically export events/locations/hosts from an existing application into Events Calendar Pro. I noticed a few issues that I wanted to share.

    1. tribe_create_venue does not allow you to specify post_content (would be nice in tribe_update_venue too)
    2. tribe_update_venue always returns null. This is because the method it calls, TribeEventsAPI::updateVenue is a void method. It would be useful to inspect the return value of wp_update_post and bubble that back up to the tribe_update_venue return value.
    3. tribe_update_venue does not let you change the venue name. It stores it in _VenueVenue as metadata, but it does not update wp_posts.post_title.

    I’ve written code workarounds to all of these, so it’s not urgent, but my interface layer would be a lot cleaner if this logic was handled inside the API. I could contribute the code to do it, but I’m not sure if your license allows outside contributors.

    #946947
    Barry
    Member

    Hi ecdave,

    Those are all great points and I can certainly log reports internally – that said, if you’d like to contribute, we’d more than welcome your submissions.

    The Events Calendar itself is available on GitHub and pull requests are always welcome and acknowledged 🙂

    #950438
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Venue API bugs and missing features’ is closed to new replies.