> For the complete documentation index, see [llms.txt](https://tigriweb.gitbook.io/components/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tigriweb.gitbook.io/components/meta/taxonomymultiple.md).

# TaxonomyMultiple

[TwebMetaTaxonomyMultipleControl](https://github.com/tigriweb/components/blob/master/meta/TwebMetaTaxonomyMultipleControl.js)

<div align="left" data-full-width="false"><figure><img src="/files/ZlU7Ue9fFj4cKnKfw2sD" alt=""><figcaption></figcaption></figure></div>

<details>

<summary>{ label, help, taxonomy*, metaKey* }</summary>

```jsx
/**
 * @param {string} [label] - Component label.
 * @param {string} [help] - Component description.
 * @param {string} taxonomy - The taxonomy name.
 * @param {string} metaKey - Registered meta key from register_post_meta().
 */
```

</details>

{% code title="functions.php" overflow="wrap" %}

```php
register_post_meta( 'post_type_name', 'test_categories', array(
	'type'         => 'array',
	'default'      => array(),
	'single'       => true,
	'show_in_rest' => array(
		'schema' => array(
			'type'  => 'array',
			'items' => array(
				'type' => 'number'
			)
		)
	),
) );
```

{% endcode %}

{% code title="index.js" overflow="wrap" %}

```jsx
import {
	TwebMetaTaxonomyMultipleControl,
} from '@tigriweb/components/meta';
```

{% endcode %}

{% code title="index.js | PanelBody" %}

```jsx
<TwebMetaTaxonomyMultipleControl
	label={ __('Categories Label', 'your-theme-name') }
	help={ __('Categories Description', 'your-theme-name') }
	taxonomy="category"
	metaKey="test_categories"
/>
```

{% endcode %}
