Can’t set custom meta fields for a post
When registering the Custom Post Type, ensure custom-fields is present in supports => array(‘editor’,’title’, ‘custom-fields’). It’s the legacy wording of meta fields and is commonly mistakenly omitted when declaring supports in CPTs. After you make the above change, your Team CPT should work with meta values. You still may encounter in Gutenberg initially, the meta … Read more