2.7kViews
0
Shares
Simply use this code in funtions.php , if you want to remove protected word from wordpress.
function the_title_trim($title) {
$title = attribute_escape($title);
$findthese = array(
‘#Protected:#’,
‘#Private:#’
);
$replacewith = array(
”, // What to replace “Protected:” with
” // What to replace “Private:” with
);
$title = preg_replace($findthese, $replacewith, $title);
return $title;
}
add_filter(‘the_title’, ‘the_title_trim’);
More Post
Effective SMM Panel Strategies for Driving Website Visitors in Nepal
How to add 360 photos in wordpress with solution
How Dangerous Is Trekking To Everest Base Camp In 2023 ? | Best Travel Tips & Advice