Sometimes you may need to set the values in a multidimensional array in the customizer settings. For a single value like text field, text area or radio button it is pretty easy but for a multidimensional array, it is a complex one. Use the below code to save in a multidimensional array.