What is the meaning of Toilet-train?

To train (a child) to use the toilet.

To train (a domestic animal) to defecate and urinate in certain designated places.

Source: wiktionary.org