Because they are opportunistic omnivores and will eat practically anything, pigs will, indeed, eat human flesh. However, they are only likely to do so if they stumble upon a dead human body; they are not known to physically attack, kill, and then eat humans.