Just a remix of Leatherneck_Garage's holder to add hooks and supports for a pegboard. It works well, i took the hooks from https://www.thingiverse.com/thing:4396912 - thanks to @kstyne for them. Reinforce with some hotglue if they're loose in your pegboard, I like these hooks because they dont fall off easy, but are a little loose and easily pull out at the right angle to reposition which I do alot.
I did a few of these prints at 20% infill, 2 walls on regular PLA. A little squishy but they're only holding bench cookies and they work well. if I get around to it I may add some extra supports at the bottom or thicken the hooks a bit. I may also stretch this to hold 8 cookies.