How to Remove the Logout Link from your WordPress Comment Form, this is the snippet that you need:

// Remove the logout link in comment form
add_filter( 'comment_form_logged_in', '__return_empty_string' );

Leave a Comment