It's actually quite novel. He connects the GND to ground, obviously, the OUT to the input pin on his Arduino, and the IN of the regulator to his switch or whatever his 12V signal is. The 7805's output will be 5V with anything from about 7V to 30V on its input.
Not how the manufacturer envisioned its use, but should work just fine.