Widget update function not saving values
This took a bit to sort out. 🙂 You are trying to use $instance[‘post_types’] in your update() function but are not setting that value at all in the form. I altered a couple of things so that the two match up. Leaving your form (mostly) as it is, your update() needs to be… // save … Read more