From what most players recall, the old Wizard101 cheat codes stopped working around October 2010. Since then, the majority of those classic cheats have been shut down and no longer function.
These days, only promotion codes and friend codes tend to get through. If you're hunting for freebies, keep an eye on official announcements, since those are the codes most likely to still be active.