Support for non-product post types in WC_Product_Factory #2199