Created
May 18, 2015 17:50
-
-
Save Kaiderella/c336725588e59991b109 to your computer and use it in GitHub Desktop.
Loại bỏ mục Website khỏi khung bình luận WordPress
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', 'unset_url_field'); | |
function unset_url_field($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