Apparently it's from an obscure phrasal verb (hook it = escape?), but not all English speakers use "play hooky". There's also "play truant", and the phrase I grew up with was "wag school".
But if you wag school, someone might bust you and dob you in! :D