WordPress tutorials: Remove automatic linking comments

Wpsnipp – Remove automatic linking comments.By default, WordPress automatically turns urls left in the comment form into links. This can be useful, but as there’s lots of spammers on the internet, you might want to remove this feature.Adding this code to your functions.php file will remove the automatic linking of URLs in comments.



remove_filter('comment_text', 'make_clickable', 9);

Leave a comment