aboutsummaryrefslogtreecommitdiffstats
path: root/mod/cb.php
blob: 6375d23984d708c989b81d53699843f9235fb076 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

/**
 * General purpose landing page for plugins/addons
 */


function cb_init(&$a) {
	call_hooks('cb_init');
}

function cb_post(&$a) {
	call_hooks('cb_post', $_POST);
}

function cb_afterpost(&$a) {
	call_hooks('cb_afterpost');
}

function cb_content(&$a) {
	$o = '';
	call_hooks('cb_content', $o);
	return $o;
}