Best SEO and PPC Tool - Extended Free Trial  GO!
wordpress snippets

Remove the URL Field From the Comments in WordPress

Last modified: January 13, 2020

Cloudways
function ScanWP_disable_comment_url($fields) {
    unset($fields['url']);
    return $fields;
}
add_filter('comment_form_default_fields','ScanWP_disable_comment_url');

Add the above to your functions file and the URL field will cease to exist in the built-in WordPress comment forms which could remove a whole lot of spam. Read more about antispam plugins.

Show More

* This button will show the rest of the post and open up an offer from a vendor
Save 4 Later
Email liked links to yourself