I've always had great luck with hogs by pouring out some Wal-Mart brand jello mix. Peanut butter didn't work at all. I tested that theory out and that whole jar of peanut butter went untouched for almost a week until the racoons found it. All the corn around the jar of PB was eaten by the hogs but not the PB. Weird huh...
Basically what it boils down to is what their food preference is. If there's something else in the area that they prefer over what you're using....They won't touch your stuff. All animals are that way, even squirrels.