Selecting which pages to display custom post type on using checkbox

It sounds like you need to run a foreach on a value inside the array. E.g. $checkboxes[‘value’] as $checkbox.. If you do: print_r(‘$checkboxes’) you’ll get an idea of the values you are trying to target. You might even have to do something like $checkboxes[‘something’][‘something_else’] depending on how many levels the array has. Hope it helps, … Read more