If you ever wrote a post and then changed its visibility settings to private or password protected, you’ll notice that WordPress automatically adds private/protected prefix to the title of the post.
You can easily remove private/protected from WordPress post titles without messing around with some heavy codes.
Just add following code, suggest by Konstantin, to your current theme’s functions.php file:
function title_format($content) { return '%s'; } add_filter('private_title_format', 'title_format'); add_filter('protected_title_format', 'title_format');