mirror of
https://github.com/friendica/friendica
synced 2024-11-14 11:02:55 +00:00
b202e02fbf
This reverts commit db949bb802
.
24 lines
No EOL
320 B
PHP
24 lines
No EOL
320 B
PHP
<?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;
|
|
} |