Title: Does it support creating an event with code?
Last modified: January 18, 2025

---

# Does it support creating an event with code?

 *  Resolved [evlee](https://wordpress.org/support/users/evlee/)
 * (@evlee)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/does-it-support-creating-an-event-with-code/)
 * I am looking for an event management solution where I can use user input from
   a form to programmatically create an event. I have tried several plugins, but
   none seem to support this feature directly. If I create the event using code,
   how can I preview it effectively?

Viewing 1 replies (of 1 total)

 *  [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * (@joneiseman)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/does-it-support-creating-an-event-with-code/#post-18251574)
 * See the following thread to get you started on programmatically creating a new
   event: [https://wordpress.org/support/topic/create-an-event-with-php/](https://wordpress.org/support/topic/create-an-event-with-php/)
 * To preview the event:
 *     ```wp-block-code
       echo $EM_Event->output();
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Does it support creating an event with code?’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/does-it-support-creating-an-event-with-code/#post-18251574)
 * Status: resolved