Can you eat when you’re in labor?

I’ve heard many only allow water and ice chips, is that true? And at what point are you able to eat again?