What is wp_check_invalid_utf8? April 30, 2022 by Tarik Billa It’s used by sanitize_text_field function to Sanitize a string from user input or from the db.