• Resolved nisoran123

    (@nisoran123)


    Hi, firstly thank you very much for this absolutely amazing plugin.
    I want to ask is it possible to book an event as pending mode by php code if we have that event id?
    I know I can do it via a booking form in the specific event page but I need to do it in a different template page as in a list of events and display custom form through ajax (contact form 7) for each 1. so I really wonder if I can book an event (exact behavior like event manager form) by code? Please give me advice, Thanks.

    • This topic was modified 8 years, 2 months ago by nisoran123.
Viewing 1 replies (of 1 total)
  • Hi,

    Glad you’re enjoying the plugin.

    You should be able to do that by sending the status using em_booking_save.

    Looking at this file may help:
    /events-manager/classes/em-booking.php

Viewing 1 replies (of 1 total)
  • The topic ‘Booking an event by the event id’ is closed to new replies.