# Comment types

This configuration contains parameters of the comment types used in HivePress. Currently, the only available parameter is `public`. If you are developing a custom HivePress [extension](/developer-docs/tutorials/create-a-custom-hivepress-extension.md) and want to hide a specific comment type everywhere, set the `public` parameter to `false`.

```php
'my_comment_type' => [
	'public' => false,
],
```

For example, in HivePress, private messages are implemented as hidden comments of `hp_message` type, so this parameter is set to `false` for the `message` comment type.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hivepress.io/developer-docs/framework/configurations/comment-types.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
