Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove "website" field from comment form
<?php
add_filter('comment_form_default_fields', 'url_filtered');
function url_filtered($fields)
{
if(isset($fields['url']))
unset($fields['url']);
return $fields;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.