Here’s some code I’ve dug up for removing the words “Private” and “Protected” from WordPress titles. These words are automatically prepended to the titles on private and password-protected posts and pages.
//remove Private and Protected from post titles
function my_private_title_format($text){
$text='%s';
return $text;
}
add_filter('private_title_format','my_private_title_format');
add_filter('protected_title_format','my_private_title_format');
