$template_html = sanitize_post_field('template_content_html',$_POST['template_content_html'], $post_id, 'db' );
I'm saving some HTML in post meta but i don't want lose any html while sanitizing but this sanitize_post_field() actually not accepting by phpcs why is there missing something?
I was looking for saving html in post meta