title: How to hide a Tab when the user is logged in / not logged in
body: <p>Woocommerce Tab manager</p>
  
  <p>I want to hide a specific tab on the single product page depending on if the user is logged in or logged out</p>
  
  <pre><code>/*Remove appraisel tab when not logged in */
  add_filter( 'woocommerce_product_tabs', 'sb_woo_remove_appraisal_tab', 98);
  function sb_woo_remove_appraisal_tab($tabs) {
  
      if (is_user_logged_in()
      unset($tabs['get-this-item-appraised']);
  
      elseif (!is_user_logged_in()
      return $tabs;
  }
  </code></pre>
  
  <p>What am I doing wrong? any help will be appreciated</p>