Hi
I have setup a metabox form for a post type of 'product' and noticed that it appears under the post edit page e.g. wp-admin/post.php?post=480&action=edit
. How do i hide this from the admin post edit page? I ask as I only want the custom post type to be editable from the front end of the site with front end submission (I have this setup already).
$meta_boxes[] = [
'title' => 'Test',
'post_types' => 'product',
'storage_type' => 'custom_table',
'table' => $wpdb->prefix . 'dc_products', // custom mysql table name
'id' => 'dc-product-test'
'context' => 'normal',
'fields' => [
//fields here...
],
];
thanks
Nick