WordPress remove comment autolinks

For many reason, you do not want to allow your user to post a comment with a URL that could easily convert to a proper hyperlink, you may actually perform the step as below to disallow autolink from your comment.

Open your function.php and insert the following code and you will find out comment with URL do not come with autolink.

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

Published by

Mick Genie

Mick Genie is the founder of MickGenie.com and working at ExaBytes Network Sdn Bhd and WPWebHost web host company. He is expertise in Windows and Linux environment especially web hosting related information, tips and trick as well as the IT Information.