Support » Theme: edsBootstrap » Bug* Can’t disable Email and url comment field

  • Hi. I’m trying to disable the Email and url comment field for my posts.

    I’m using wordpress’s hook for disabling it, however nothing happens :/

    function remove_email_url($fields) {
        unset($fields['url']);
        unset($fields['email']);
        return $fields;
    }
    
    add_filter('comment_form_default_fields', 'remove_email_url');

    If I use the same code on the Standard wordpress theme it works as supposed, can i get some help solving this?

  • The topic ‘Bug* Can’t disable Email and url comment field’ is closed to new replies.