Hi,
I’m trying to remove the ‘website’ entry field from my comment form on blog posts. I tried entering this code into my functions.php, but it it did not remove the field.
add_filter(‘comment_form_default_fields’, ‘website_remove’);
function website_remove($fields)
{
if(isset($fields[‘url’]))
unset($fields[‘url’]);
return $fields;
}
Would appreciate any help regarding this.
Website is https://god.net/