#[PostType]
Attribute on classes.
Declares a post type on a subclass of AbstractPost: the class is the object of a
post of the type. The framework registers the type as {namespace}_{name}
(namespace of the theme or plugin with "_" instead of "-"), always shown in the
REST API and therefore in the block editor if it supports the editor.