.. _finsertitemtype: ################ insert_item_type ################ :doc:`ItemType-related functions ` ******* Summary ******* .. include:: /Reference/libraries/globals/summary/insert_item_type.rst .. php:function:: insert_item_type(array $metadata = Array, array $elementInfos = Array) Insert a new item type. :param array $metadata: Follows the format: .. code-block:: php array( 'name' => [string], 'description' => [string] ); :param array $elementInfos: An array containing element data. Each entry follows one or more of the following formats: .. raw:: html