1
0
Fork 0
friendica_2020-09-1_sharedH.../mod/cb.php
Hypolite Petovan 20043914e6 Move App to src
- Add `use Friendica\App;` wherever needed
2017-05-02 22:59:36 -04:00

25 lines
No EOL
351 B
PHP

<?php
/**
* General purpose landing page for plugins/addons
*/
use Friendica\App;
function cb_init(App $a) {
call_hooks('cb_init');
}
function cb_post(App $a) {
call_hooks('cb_post', $_POST);
}
function cb_afterpost(App $a) {
call_hooks('cb_afterpost');
}
function cb_content(App $a) {
$o = '';
call_hooks('cb_content', $o);
return $o;
}