$8000 tax credit toward DP

Can the current $8000 tax credit really be used toward your DP? Or only toward closing costs? Or both? I’ve heard conflicting info on this, can someone please clear this up?!

Hud/FHA Revoked the 8000 tax credit for downpayment the day after they approved it.

Thomas