Welcome to the forums. Text messages are typically sent over cell signals. Being on wifi wouldn't change anything. As far as I understand, using an app that sends messages over the net would bypass the text restriction, but you and the recipient would have to be using the same service, like whatsapp.