Answer the question
In order to leave comments, you need to log in
URL item in the WordPress comments form - how not only to hide, but also to disable acceptance if entered?
Good day. I'm using code that hides the URL entry in the WordPress comment form.
add_filter('comment_form_default_fields', 'sheens_unset_url_field');
function sheens_unset_url_field ( $fields ) {
if ( isset($fields['url'] ))
unset ( $fields['url'] );
return $fields;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question