Typical wp_kses $allowed
I have a custom post textbox that I want to sanitize using wp_kses before I update my post meta.
I have a custom post textbox that I want to sanitize using wp_kses before I update my post meta.
I want to keep the style attribute. $str is just an example, here’s my code: