This is an American (and particularly Southern) expression generally used as an adverb to describe how one performs a task. To go "whole hog" is to do something completely, to the fullest extent, or as thoroughly as possible.

We'd already lost $50 in the poker game, so we decided to go whole hog and bet the last $30!