We need to hide some fields in the products tab on our website. We've used this function to hide the gallery and worked perfectly:
the_content('Read the full post',true);
$postOutput = preg_replace('/]+./',”, ob_get_contents());
But now we need to hide a full field, something like the plugin does to uncheck “Show attachments in the post”. But instead it hide everything, only the field that we want (two or three specific fields that are created with Front End Pro).