Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove URL field from Comment Section
<?php
//Remove URL field from Comment Section
function remove_comment_url_fields($fields) {
if(isset($fields['url']))
{
unset($fields['url']);
}
return $fields;
}
add_filter('comment_form_default_fields','remove_comment_url_fields');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment