In WordPress, when you use the `register_post_type` function, you're essentially creating a new content type that can be managed and displayed alongside built-in post types like posts and pages. This function allows you to define various parameters for your custom post type, such as its label, description, supported features (like title, editor, thumbnail, etc.), and its hierarchical nature.
Here's a basic example of registering a custom post type in WordPress: