The correct answer is: D. found/was hiding

The past tense is used to describe an action that happened in the past. In this case, the action is "finding" and the subject is "we." The past tense of "find" is "found." The past tense of "be" is "was." Therefore, the correct sentence is "When we found her, she was hiding in the wardrobe."

The other options are incorrect because they do not use the past tense. Option A uses the present tense of "find," which is incorrect because the action happened in the past. Option B uses the present perfect tense of "find," which is incorrect because the action happened at a specific time in the past. Option C uses the present progressive tense of "find," which is incorrect because the action was not happening at the time of speaking. Option E uses the past perfect tense of "find," which is incorrect because the action happened before another action in the past.