Skip to content

Instantly share code, notes, and snippets.

@tiberiur
Created June 9, 2016 05:11
Show Gist options
  • Save tiberiur/f4566c5b62e829a409284215d7b9dc88 to your computer and use it in GitHub Desktop.
Save tiberiur/f4566c5b62e829a409284215d7b9dc88 to your computer and use it in GitHub Desktop.
[Wordpress] Remove website field from comments
/**
* Remove website field from comments
*/
function disable_comment_url($fields) {
unset($fields['url']);
return $fields;
}
add_filter('comment_form_default_fields','disable_comment_url');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment