Skip to content

Instantly share code, notes, and snippets.

@spencejs
Created November 5, 2013 22:49
Show Gist options
  • Save spencejs/7327748 to your computer and use it in GitHub Desktop.
Save spencejs/7327748 to your computer and use it in GitHub Desktop.
Remove URL Field from Comment Form
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