If you wanted to use whole wheat flour, i'd recommend only swapping half the amount of the flour in the recipe for whole wheat and leave the rest as all-purpose. This way you'll avoid a dense result.