• Resolved sushienthusiast

    (@sushienthusiast)


    Hello people,

    I am trying to analyse the databases provided with the plugin, especially the wp_em_bookings. There is a key in it called “booking_status” which I presume designates information like “validated”, “cancelled” , “awaiting validation” etc. However the value of that key is an integer and I cannot seem to find where in the documentation it says what each number corresponds with. Does anyone know or know where to find it ?
    Thank you all in advance,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Looking in the code in wp-content/plugins/events-manager/classes/em-booking.php I see the function email_messages which checks the booking_status. Here are the possible values:

    • 0 – pending
    • 1 – confirmed
    • 2 – rejected
    • 3 – cancelled

    If the value is 0 and approval is not required then it is treated as confirmed. If approval is required and the value is 0 then it is treated as pending.

    Thread Starter sushienthusiast

    (@sushienthusiast)

    Omg awesome thank you very much!

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

You must be logged in to reply to this topic.