Types
List Types associated with the Posts.
Table Specific Information
Select
The provider uses the WordPress API to process supported filters. The provider processes other filters client-side within the provider.
For example, the following queries are processed server side.
SELECT * FROM Types WHERE Slug = 'product'
Columns
| Name | Type | References | Description |
| Slug [KEY] | String | The unique slug that identifies the post type in WordPress, used in permalinks and API routes. | |
| Name | String | The display name of the post type, shown in the WordPress admin interface. | |
| Description | String | A short explanation describing the purpose or usage of the post type. | |
| HasArchive | String | Indicates whether the post type supports an archive page that lists all its posts. | |
| IsHierarchical | Boolean | Specifies whether the post type supports parent and child relationships, similar to pages. | |
| IsTemplateLock | Boolean | Indicates whether the post type restricts or locks the editing template in the WordPress block editor. | |
| Icon | String | The icon representing the post type in the WordPress admin menu. | |
| RestBase | String | The base route used for the post type in the WordPress REST API. | |
| RestNamespace | String | The namespace used for the post type within the WordPress REST API. | |
| Taxonomies | String | A list of taxonomies associated with the post type, such as category or post_tag. |