Remove URL Field from WordPress Comment Form

fake comments are coming for backlink on post, this is very common problem in blog or website. In this article we will learn how to remove website url fields from comment form .Wordpress providing plugin as well to remove url link from comment box, but we will use wordpress hook to remove website url option from comment box. I have read from wordpress blog and sharing with you guys.

Option 1:

Step 1- we will create below function in theme functions.php file.

You can also add/remove form option here.

Step 2: Now we will call this fucntion on 'comment_form_default_fields' hook.

It will error generate if you will update theme.

Option 2:

Use wordpress plugin to remove website url.
You can use this plugin Hide-n-Disable-comment-url-field

Option 3:

Remove URL input from comment.php file or comment below code.

This will generate error if you will update word press.

I hope it will help you.