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












                                                                                                                                                                                                                                                                  
[h2]stream_item[/h2]


Called for each item processed for viewing by conversation(); 

The hook data consists of an array

	array(
		'mode' => current mode of conversation()
		'item' => item being processed
	);

	Set item['blocked'] to block the item from viewing. This action will not affect comment or sub-thread counts, so if there are three comments in a conversation and you block one, three comments will still be reported even though only two are visible.