Removed Protected from Page Title – WordPress Password Protected Pages
We are working with creating protected page reports for clients with a simple password protection, using the standard WordPress Password Protected functionality. Unfortunately, it adds “protected” to the page heading. This simple code, added to functions.php, removes “protected” from protected posts and pages sitewide: [php]/* Remove Protected from Title on Protected Pages */ add_filter(‘protected_title_format’, ‘blank’); […]