How to Remove url option from comments wordpress

You could try adding a filter to your wp-content/themes/your theme name/functions.php
try inserting it in functions.php after the opening php tag: <?php

add_filter('comment_form_default_fields', 'url_filtered');
function url_filtered($fields)
{
if(isset($fields['url']))
unset($fields['url']);
return $fields;
}

Leave a Reply

Your email address will not be published. Required fields are marked *