Create and update events programmatically

Home Forums Welcome! Pre-Sales Questions Create and update events programmatically

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1224631
    Sabrina
    Participant

    I am reading about creating and updating events (programmatically). It looks like there are two separate functions for it (tribe_create_event and tribe_update_event), and yet both use the wp_insert_post (which updates and creates events) arguments… so what’s the recommend action here?

    Download a list of all IDs already inserted and use them to compare on insert? If already in the db use tribe_update_event, if not, use tribe_create_event?

    #1224896
    Hunter
    Moderator

    Hello 🙂

    I’d be happy to help assist, but won’t be able to do so in the Pre-Sales Questions Channel. Please create a new thread in the appropriate forum and we’d be happy to answer your questions. Thanks for understanding and have a great rest of your day. Cheers!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Create and update events programmatically’ is closed to new replies.