IMO: Best attractant for hogs is soured corn. Fill a five gallon bucket about 2/3rds full of corn, fill bucket with water to a couple inches from the top. Replace lid and set bucket in the sun until it really smells.
Put the soured corn in a feeder pan or open bucket and wait.
I have tried all sorts of homemade baits and 3 commercial baits. I can't tell that any of them work in better than just plain old corn. I have done the souring, Big Red, jello, beer, diesel, and Kool-Aid etc.
The only thing I have not been able to try successfully is a pile of rotten watermelons and that is because I don't know any growers.