What is the function function in WordPress that formats HTML for comments?

In wordpress there is a function of some sort that will strip html tags but allow certain tags and certain attributes. I was able to find how to change the allowed tags and attributes but no luck trying to find the actual “strip_tags” function that i could use elsewhere in my theme that abides by the set parameters. It would be extremely useful to know this function name.

Related posts

Leave a Reply

1 comment