]> git.mxchange.org Git - friendica.git/blob - mod/cb.php
04d01302c11504fff949580487ab7bc6af2950b0
[friendica.git] / mod / cb.php
1 <?php
2
3 /**
4  * General purpose landing page for plugins/addons
5  */
6
7 if(! function_exists('cb_init')) {
8 function cb_init(&$a) {
9         call_hooks('cb_init');
10 }
11 }
12
13 if(! function_exists('cb_post')) {
14 function cb_post(&$a) {
15         call_hooks('cb_post', $_POST);
16 }
17 }
18
19 if(! function_exists('cb_afterpost')) {
20 function cb_afterpost(&$a) {
21         call_hooks('cb_afterpost');
22 }
23 }
24
25 if(! function_exists('cb_content')) {
26 function cb_content(&$a) {
27         $o = '';
28         call_hooks('cb_content', $o);
29         return $o;
30 }
31 }