Forums
Home / Plugin: Events Manager - Calendar, Bookings, Tickets, and more! / Import Event
(@lngphp)
7 years, 2 months ago
Hi!
I’d like to import an events acquired from external source. Is there any code example on how to add an event programmatically? Is there EM API doc available?
Thanks!
(@caimin_nwl)
Hi,
Sorry, there isn’t. The best thing I can recommend is to take a look at how it’s done within this file:
/events-manager/classes/em-event-post-admin.php
Yes, this is exactly what I found myself, but thanks a lot for your answer anyway Caimin!
No problem ??