using switch case to remove specific value of custom fields in wordpress