Benjamin Charity

Remove Protected from Wordpress Post Titles

February 6th 2011

Sometimes you may want a post to be protected, without having Protected added to every post title. Removing it is simple snip of code.

Add this to your functions.php file:

add_filter('protected_title_format', 'blank');
function blank($title) {
    return '%s';
}