Save checkboxes of a metabox with a foreach loop (invalid argument)
I’m new to WordPress plugin development and I’m trying to create a list of checkboxes (from a WP Query) to associate as custom fields for a specific post type. Nothing wrong with the display function, but when I’m trying to save I get the error