Yeah, while I was quick to post last night since it was right before bed, it's precisely what Wubsie has said.
Just one minor correction, though... /follow has been out of battlegrounds since patch 5.2, which was released in March of 2013. While "two expansions ago" doesn't sound like a long time, it has been over six years at this point.
Follow ceases to function when you engage in any PvP combat, regardless of what you're doing or where you are. That's all there is to it, with the one exception that is mentioned above: follow is simply disabled on all battleground maps.
The recent change in BFA has limited multiboxers to the point where world PvP can still be done, but it's unlikely that you can be an unstoppable killing machine capable of disrupting everyone around you for an extended period of time, and it's more likely that you're going to have some downtime as you find yourself running back to your corpse more often.
Connect With Us