I need some help about sanitizing output. I have read several threads where this is discussed but couldn’t find a clear and solid answer. Are we allowed to use wp_kses_* functions for output in some cases or not? I ask this because i saw some authors complaining about being rejected due to the use of wp_kses for output. There are cases where we want to avoid esc_* functions to keep some of the html tags. For example in one of my templates i want to output some data which i get from the user on the frontend. I sanitize the input with wp_kses_post before storing it in the database. Another example could be the widgets where we echo $before_widget variable which also contains html tags. Are we allowed to use wp_kses in such cases or is there an other way to accomplish this?