WP Sage remove website field from comment form

Edward Ziadeh • 6 November 2019
Blog in group Wordpress
0 comments
0 likes

Open app/filters.php and add the following:

 

add_filter('comment_form_default_fields', function ($fields) {
    if (isset($fields['url']))
        unset($fields['url']);
    return $fields;
}, 100);