Created
April 29, 2020 16:25
-
-
Save vfontjr/87b2be79de5d8b6aa7d6dd618a09e8f1 to your computer and use it in GitHub Desktop.
Source code or https://victorfont.com/remove-url-wordpress-comment-form/
This file contains hidden or 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( 'comment_form_default_fields', 'comment_form_fields' ); | |
function comment_form_fields( $fields ) { | |
unset($fields['url']); | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment