You can receive hidden level passes by completing quests or defeating Greedy Larry. Hidden level passes can be used to access hidden levels.
Each pass lets you access a hidden level once. If you quit the hidden level before completing it, you cannot continue where you left off. Complete a hidden level to win lots of gold.