Skip to content

Instantly share code, notes, and snippets.

@ovizii
Created July 28, 2013 08:44
Show Gist options
  • Select an option

  • Save ovizii/6097982 to your computer and use it in GitHub Desktop.

Select an option

Save ovizii/6097982 to your computer and use it in GitHub Desktop.
Remove the URL website field from comments
//Remove URL field from comment form
function so_remove_comment_fields($fields) {
unset($fields['url']);
return $fields;
}
add_filter('comment_form_default_fields','so_remove_comment_fields');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment