Support

Home Forums Event Espresso Premium Insert venue or event programatically?

Insert venue or event programatically?

Posted: April 27, 2018 at 2:18 pm


matchison

April 27, 2018 at 2:18 pm

I’m having difficulty finding a way to insert venues programatically. I have a list of venues I need to somehow import. Been looking for documentation with reference to all available functions without any luck. Is this possible?


matchison

April 27, 2018 at 2:19 pm

Is there an insert_venue function where I can just pass the post title and address?


Josh

  • Support Staff

April 30, 2018 at 12:21 pm

Hi matchison,

I don’t believe there actually is an insert_venue() function where you can just pass the post title and address. A custom function could be built with some PHP programming, and the development team recommends making use of the built-in Model system, but it could optionally use the $wpdb class.

The support post ‘Insert venue or event programatically?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso