Created
October 11, 2018 05:02
-
-
Save shameemreza/0d273d99e487e34234f3e414beb5fa77 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
add_filter('comment_form_default_fields', 'remove_url'); | |
function remove_url($fields) | |
{ | |
if(isset($fields['url'])) | |
unset($fields['url']); | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment