I\'m passing an array of product IDs (as integers) into the below function, which also accepts the current category ID. This gets ran on the product category edit screen in