Hello,
First, thank you very much for your review!
The “object_id” refer to the “id” column of the table specified in the “object_type”.
For example,
– if the “object_type” is “template”, the “object_id” refer to the “id” of the “wp_bookacti_templates” table
– if the “object_type” is “activity”, the “object_id” refer to the “id” of the “wp_bookacti_activities” table
You just need to know the associations:
object_type => table
“template” => “wp_bookacti_templates”
“activity” => “wp_bookacti_activities”
“form” => “wp_bookacti_forms”
The “wp_bookacti_meta” table works the same way, but there are a bit more associations:
object_type => table
“event” => “wp_bookacti_events”
“group_of_events” => “wp_bookacti_event_groups”
“group_category” => “wp_bookacti_group_categories”
“form_field” => “wp_bookacti_form_fields”
“booking” => “wp_bookacti_bookings”
“booking_group” => “wp_bookacti_booking_groups”
Regards,
Yoan Cutillas