In Peter Pan who ate Captain Hook?
In the original Peter Pan story,
Captain Hook does not get eaten. He is defeated by Peter Pan in a sword fight and falls into the crocodile's mouth, but he escapes. The crocodile, who has a ticking clock in his belly as a reminder of Hook's attempted revenge, continues to chase Hook throughout the story.
It's possible you're thinking of a different adaptation of Peter Pan. There are many variations of the story, some of which may include different fates for Captain Hook.