Certain words, even if abbreviated, would be identified on the message, and that would either keep the message from being sent or the questionable words would be changed.
While the texting interface would filter text, it does not address explicit images.