Created
October 17, 2019 18:25
-
-
Save iqbalmauludy/32f353af86c1056e3c43d0f6ca70421d to your computer and use it in GitHub Desktop.
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
// Disable Comments URL field | |
function imwp_disable_comment_url($fields) { | |
unset($fields['url']); | |
return $fields; | |
} | |
add_filter('comment_form_default_fields','imwp_disable_comment_url'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment