“wh” would be watt-hours. Watts of power, multiplied by hours of time.
So solar panels, like every other possible source of electrical energy, would produce 3 wh per watt if you ran them for three hours, or 8 wh per watt if you ran them for eight hours.