• Resolved glennbennett

    (@glennbennett)


    I’m trying to save a booking. I called save() on the EM_BOOKING object and it entered the data into the bookings table, but not in the tickets_bookings table which seem to mess things up a bit.

    I set the status, booking and comment then save. What am I missing?

    example

    $EM_BOOKING->booking_status = “1”;
    $EM_BOOKING->booking_spaces = “1”;
    $EM_BOOKING->booking_comment = “hello”;
    $EM_BOOKING->save();

    http://wordpress.org/extend/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Events Manager] Save Booking’ is closed to new replies.