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.
Leave a Reply
You must be logged in to post a comment.
You mean wp_kses?