WordPress Widget – Saving multidimensional arrays into $instance
I ended up using a workaround to solve this problem. Instead of attempting to store a multidimensional array as described above, I instead store a simple array of values created by combining the type with the id. So, instead of: array( [0] => ( ‘id’ => 1, ‘type’ => ‘location’, ‘name’ => ‘University Library’), [1] … Read more