Hi everyone,
I was trying to pass some html code through a message and realized that most of the tags and stylistic elements were being stripped away from the content of the message. I did some searching and found that this function “wp_filter_kses” was being applied to all messages. When I removed that filter, nothing was stripped anymore and it worked fine.
I was just wondering: what is the purpose of that function? Is there some security concern with having people input html/css in messages?
Also, is there a way to customize what elements/styling gets stripped and what does not get stripped?
Thanks for your help!