I use acf fields to create entries in a calendar which is based on an events content type with a date and a title a fields. I have written done php to access the database and to export the calendar entries but I want to write a corresponding insert script to put them into the same table on a different website. Had anyone dive this, I’m unsure about do the relevant IDs which link tables and ensuring these are all correct. I assumed that I need to generate a record in posts first and then use that id on the insert into meta but I think there maybe others I haven’t accounted for