Last active
October 17, 2016 07:35
-
-
Save edalis/a7bb75ace1dadc4dbcf5 to your computer and use it in GitHub Desktop.
WP: Remove URL 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
// http://crunchify.com/wordpress-tips-quick-way-to-remove-url-field-from-comment-form/ | |
function crunchify_disable_comment_url($fields) { | |
unset($fields['url']); | |
return $fields; | |
} | |
add_filter('comment_form_default_fields','crunchify_disable_comment_url'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment