📌Pin Comments/Replies
Commenter allows you to pin a message (comment or reply). The pinned message is moved to the top of the comments list and highlighted to draw users’ attention first.
Enable/Disable
You can easily enable or disable this feature under the pin key in the config file.
// commenter.php
/**
* Ability to pin comment or reply
*/
'pin' => [
'enable_comment' => true,
'enable_reply' => false,
],Permissions
The pin functionality is grouped under the Edit Menu. Therefore, to pin a message, a user must have permission to manipulate the message (update or delete).

Next, define the policy. By default, the pin policy is disabled. To enable it, create a custom policy class and register it under the pin-message permission key in the Commenter config file.
Last updated