aboutsummaryrefslogblamecommitdiffstats
path: root/doc/hook/can_comment_on_post.bb
blob: 2cfd3b2da2a75cd5d91745d10bbe4ef7d2b4bfd7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                        
[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