What is the function of the adverb clause in the sentence?
When you get home from the game, put your dirty clothes in the hamper.
It answers the question when and modifies the verb put.
It is a dependent clause that acts as a noun.
It is a dependent clause that acts as an adjective.
It answers the question where and modifies the noun hamper.