📅  最后修改于: 2022-03-11 14:54:12.985000             🧑  作者: Mango
Check whether the string is a valid UTF-8 character, and remove all HTML tags.
$str = "Title
";
sanitize_text_field( $str ); // it will return "title" without any HTML tags!