title: Woocommerce exclude specific category products from related products
body: <p>I'm trying to exclude products from two specific categories (fine watch, fine jewelry) from showing up in the related products on the content single products page. The closest idea I have stumbled upon is this code from a file named related.php in woocommerce\template\single-product\ :</p>
  
  <pre><code>$args = apply_filters('woocommerce_related_products_args', array(
  'post_type'     =&gt; 'product',
  'ignore_sticky_posts'   =&gt; 1,
  'no_found_rows'     =&gt; 1,
  'posts_per_page'    =&gt; $posts_per_page,
  'orderby'       =&gt; $orderby,
  'post__in'      =&gt; $related,
  'post__not_in'      =&gt; array($product-&gt;id)
   ) );
  </code></pre>
  
  <p>Any idea how to modify this code or am I looking at the wrong thing?</p>