When one has perfected restraint and able to maintain samadhi. One will give up food (doesn't mean totally not eating), then the food is used merely for supporting the holy body only (very little food is needed).
Because the physical body is always still (balance). Breathing is little/no. No need extra metabolism, less work. Mind will not move ever anymore. Even without eating, one can stay at 2nd jhana to feed with piti the body/mind like abhassara world being.
This mean the physical body will not grow anymore. This is why look at the Bhikkhu's body who teach samadhi (before and after) and confirm his daily life. You will understand or NOT.
If not, well good luck.
No samma samadhi = no give up human food yet.
As usual, anything can be tested in this teaching, it is not merely talking or commentary.