Multiple options not staying selected after saving
First of all you need to save the value as an array because you want multiply items to be selected. The update_option function will serilized an array for you so you only need to give it an array of items. In your code you saving over all the items because you use the same key … Read more