unable to save post meta on single field with multiple selects
In your save code, the value of $field[‘id’] is event_timeframe, which does not exist in $_POST, so your options will never save. You need to dig down into your options array to get to timestart and timeend: // loop through fields and save the data foreach ( $event_infobox_fields as $field ) { foreach ( $field[‘options’] … Read more