Created
July 17, 2012 14:56
-
-
Save wpsmith/3129890 to your computer and use it in GitHub Desktop.
Remove website field from Comments Form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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