For Woocommerce user when user tries to logout from my account page then it ask for confirmation that if you really want to logout with a message that says “Are you sure you want to log out?” and sometimes this may be disgusting and disturbing for your user. If you want to bypass this for your user, then simply put below code to your theme functions.php file