How to remove “Protected:” from password protected post in WordPress

To remove the “Protected:” text from your password protected WordPress posts, just add this to your theme’s functions.php file:

function remove_protected_text() {
    return '%s';
}
add_filter( 'protected_title_format', 'remove_protected_text' );

Also make sure to check out How to Change “The content is password protected. To view it please enter your password.” in Divi to further update your Divi password protected posts.

Is this helpful?