No, there are no secret pet codes in Pixie Hollow.
Pets in the game are obtained through play — you earn or adopt them rather than entering a code to summon one.
If you saw a code posted somewhere, it was invented. Pixie Hollow's items came from gameplay and events, not from redeemable strings, and the game is no longer running in any case.