Thank you, bcworkz.
However, I was finally able to find a filter which works, I am just adding it here for future reference:
This example will hide a custom field called test1 while respecting the configuration for the others:
add_filter(‘is_protected_meta’, ‘my_is_protected_meta_filter’, 10, 2);
function my_is_protected_meta_filter($protected, $meta_key) {
return $meta_key == ‘test1’ ? true : $protected;
}
Regards,
Hector