2.5 year old won’t eat

My 2.5 year old has been soooo picky the last few weeks. I don’t know what to do!

Random days he will eat things, but most days lately he is refusing anything except snacks, milk, and water.

I know toddlers go through phases…. I just don’t know how long this will last 😫

Anyone have a similar situation / advice?