Answers for "how to remove Website field from comments"

PHP
0

how to remove Website field from comments

add_filter('comment_form_default_fields', 'clear_url_box');
function clear_url_box($fields){
    if(isset($fields['url']))
    unset($fields['url']);
    return $fields;
}
Posted by: Guest on May-05-2020

Code answers related to "how to remove Website field from comments"

Browse Popular Code Answers by Language