This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
core/doc/hook/can_comment_on_post.bb

14 lines
285 B
Clojure

[h3]can_comment_on_post[/h3]
Called when deciding whether or not to display a comment box for a post.
Hook data (array):
observer_hash => xchan_hash of current observer
item => posted item
allowed => 'unset'
To over-ride the default behaviour, change allowed to true or false