Support » Plugin: Events Manager » Create custom booking from serverside

  • Resolved ykushnir


    I created custom checkbox field in booking form. If user don’t check it new booking is simply created. But if user check it I have to create another booking for another event with custom price and similar information like country, names etc…

    In a few words I have to “api” for creating new booking.
    Any idea?

Viewing 2 replies - 1 through 2 (of 2 total)
  • agelonwl


    unfortunately, this isn’t possible at the moment.

    Plugin Author Marcus


    NetWebLogic Support

    it is possible, but you have to custom code it.


    $EM_Booking = new EM_Booking();
    //add event id, ticket ids, quantities etc.

    you can see how we do that via the EM_Booking::get_post() function

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create custom booking from serverside’ is closed to new replies.