Skip to content

Instantly share code, notes, and snippets.

@epicmonkeez
Created August 31, 2013 11:45
Show Gist options
  • Save epicmonkeez/6397745 to your computer and use it in GitHub Desktop.
Save epicmonkeez/6397745 to your computer and use it in GitHub Desktop.
Remove the url field from your comment form
<?php
function em_remove_comment_fields($fields) {
unset($fields['url']);
return $fields;
}
add_filter('comment_form_default_fields','em_remove_comment_fields');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment