I am trying to add columns to my admin area from a custom post type.
The code below successfully adds two columns, the ‘Sale or Charter’ column returns the correct value, but the ‘featured’ returns the value ‘array’ rather than ‘yes’ or blank. The first is a radio button the second is a checkbox.
What am I doing wrong?
Secondly, is it possible to actually add the checkbox in the admin column? In the same way you have a star for featured products in WooCommerce.
Alternatively adding the option to the quick edit area.