Remove Private or Protected in title – WordPress

add_filter( 'protected_title_format', 'remove_protected_text' );
function remove_protected_text() {
return __('%s - This is a Private Page');
}
No Comments

Sorry, the comment form is closed at this time.