ContentType
ObjectAn Post Type object
Fields
Whether this content type should can be exported.
Connection between the ContentType type and the Taxonomy type
Connection between the ContentType type and the ContentNode type
Whether content of this type should be deleted when the author of it is deleted from the system.
Description of the content type.
Whether to exclude nodes of this content type from front end search results.
The plural name of the content type within the GraphQL Schema.
The singular name of the content type within the GraphQL Schema.
Whether this content type should have archives. Content archives are generated by type and by date.
Whether the content type is hierarchical, for example pages.
The globally unique identifier of the post-type object.
Whether the node is a Comment
Whether the node is a Content Node
Whether this page is set to the static front page.
Whether this page is set to the blog posts page.
Whether the object is restricted from the current viewer
Whether the node is a Term
Display name of the content type.
Details about the content type labels.
The internal name of the post type. This should not be used for display purposes.
Whether a content type is intended for use publicly either via the admin interface or by front-end users. While the default settings of exclude_from_search, publicly_queryable, show_ui, and show_in_nav_menus are inherited from public, each does not rely on this relationship and controls a very specific intention.
Whether queries can be performed on the front end for the content type as part of parse_request().
Name of content type to display in REST API "wp/v2" namespace.
The REST Controller class assigned to handling this content type.
Makes this content type available via the admin bar.
Whether to add the content type to the GraphQL Schema.
Where to show the content type in the admin menu. To work, $show_ui must be true. If true, the post type is shown in its own top level menu. If false, no menu is shown. If a string of an existing top level menu (eg. "tools.php" or "edit.php?post_type=page"), the post type will be placed as a sub-menu of that.
Whether the content type is associated with a route under the the REST API "wp/v2" namespace.
Whether to generate and allow a UI for managing this content type in the admin.
The unique resource identifier path