What is your goal?
I need to prevent duplicate products from being uploaded to WooCommerce. In other words, I only want one upload for each product.
What is the problem & what have you tried?
If I have 10 products that pass through my filter, 3 of them will be “winter glove X”, 2 of the uploads might be “Blue jersey”, 4 uploads might be “green pants”.
I am aware of functions “distinct” and “deduplicate” but I am not sure where to use these if they are my solution.


