I'm trying to create a tracking history for the vehicle delivery service, everytime the booking post is updated I will take the current date and time along with other values and store it in a key value field.
Update 1 (key) : Date, Time, Location, Status ( value )
The issue is this is stored in a custom table and I cannot get my code to create key and value fields on the booking which then I will return to be used in a custom HTML field to output a tracking table.
How can I create key value field entries via PHP to be stored in a custom table?
Note: I've created the fields using Metabox GUI.