Cartoon style illustration of Addy, young man with long blonde hair in a blue hoodie
addy.zone
digital garden 🌱

Remove website field on WordPress comment form

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

Leave a Reply

Your email address will not be published. Required fields are marked *

fifteen − 11 =