From: rabuzarus <> Date: Thu, 28 Apr 2016 21:18:38 +0000 (+0200) Subject: add some hook docu X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a96d7bdd0b6035112f8a9a25a596d531023c3b70;p=friendica.git add some hook docu --- diff --git a/doc/Plugins.md b/doc/Plugins.md index a30a3f4a71..49d0665fec 100644 --- a/doc/Plugins.md +++ b/doc/Plugins.md @@ -281,6 +281,11 @@ $b is an array with: 'template' => filename of template 'vars' => array of vars passed to template +### ''acl_lookup_end' +is called after the other queries have passed. +The registered function can add, change or remove the acl_lookup() variables. + + 'results' => array of the acl_lookup() vars Complete list of hook callbacks @@ -338,6 +343,8 @@ include/acl_selectors.php: call_hooks($a->module . '_pre_' . $selname, $arr); include/acl_selectors.php: call_hooks($a->module . '_post_' . $selname, $o); +include/acl_selectors.php call_hooks('acl_lookup_end', $results); + include/notifier.php: call_hooks('notifier_normal',$target_item); include/notifier.php: call_hooks('notifier_end',$target_item);