]> git.mxchange.org Git - friendica.git/blob - mod/cb.php
Merge pull request #3965 from tobiasd/20171126-docGettingStarted
[friendica.git] / mod / cb.php
1 <?php
2
3 /**
4  * General purpose landing page for plugins/addons
5  */
6
7 use Friendica\App;
8
9 function cb_init(App $a) {
10         call_hooks('cb_init');
11 }
12
13 function cb_post(App $a) {
14         call_hooks('cb_post', $_POST);
15 }
16
17 function cb_afterpost(App $a) {
18         call_hooks('cb_afterpost');
19 }
20
21 function cb_content(App $a) {
22         $o = '';
23         call_hooks('cb_content', $o);
24         return $o;
25 }