Hello Developers, Greetings of the day!
Today, I am going to show you how to remove the noreferrer attribute in the link form all post and pages content
without edit the content.
So just put the below code in themes functions.php file.
function my_formatter($content) { $replace = array("noreferrer" => "" ); $new_content = strtr($content, $replace); return $new_content; } add_filter('the_content', 'my_formatter', 999);
Thank You. Keep looking forward. 🙂