Skip to content

Instantly share code, notes, and snippets.

@tobedoit
Created November 26, 2012 06:34
Show Gist options
  • Save tobedoit/4146854 to your computer and use it in GitHub Desktop.
Save tobedoit/4146854 to your computer and use it in GitHub Desktop.
Wordpress: remove 'website' field from comment form
/* Remove 'website' field for comment form *****************************************************************
** http://techhacking.com/2011/02/04/wordpress-how-to-remove-the-website-field-from-the-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