This is an example of encoding.
In the communication process, the person who formulates and emits the message is able to (and sometimes required to) adjust their message depending on the impact it might have on the audience. By doing this, the encoder is making sure that their message is received the way they want it to be received.