Have done some searching, but all the solutions to this problem relate to excluding categories and/or tags.

How do I hook into woocommerce_get_related_products so I can exclude the following:

product_cat = sold

Thanks in advance for any help!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.