It’s literally one of the stupid arguments against veganism. Even if plants did feel pain it takes a hell of a lot more plants to feed farmed animals which carnists then eat alongside other plants meaning it would just be another argument for veganism anyway.
Also considering that plants use 75% less land than farmed animals do. We must protect nature.
TLDR: No pain receptors, so no.
They do feel stress when being eaten, and healthy plants react to hearing animals eat plants nearby.
https://science.howstuffworks.com/life/botany/plants-feel-pain.htm#pt3
This article says they scream ultrasonically, but it sounds more like simple pressure release when cut open than a stress or pain response.