Function: tcp get product types

Description

Returns the list of the product types supported by TheCartPress. The list can be modified using the filter Filter: tcp get product types.
Modifying the list, a plugin developer could create different types of products and delete the existing ones.

Parameters

return
(Array) List of product typess with the next format: array( ‘TYPE_ID’ => ‘title’, ).

To read more about the returned list visit Filter: tcp get product type

Change Log

Since 1.1.2