You should use the function to safely display the title content, even if it contains HTML tags or special characters. This way, they will be converted to their corresponding entities and displayed without harm. Here's how you can implement esc_html() to secure the title field: