Here "what" seems to be an adjective. " The words in parentheses are omitted for brevity and are understood from the context. So here "what" modifies "things" adjectivally.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.