Skip to content

Instantly share code, notes, and snippets.

@wpsmith
Created July 17, 2012 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpsmith/3129890 to your computer and use it in GitHub Desktop.
Save wpsmith/3129890 to your computer and use it in GitHub Desktop.
Remove website field from Comments Form
<?php
add_filter( 'genesis_comment_form_args', 'wps_comment_form_args' );
/**
* Remove website field from Comments Form
*
* @param array $args Comments form arguments.
* @return array $args Modified Comments form arguments.
*/
function wps_comment_form_args( $args ) {
unset( $args['fields']['url'] );
return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment