Sanitize id in woocommerce_get_product_to_duplicate function