From a61361f351ae0d1ac8cbf54b09387c411a4e7537 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 28 Apr 2016 23:18:38 +0200 Subject: [PATCH] add some hook docu --- doc/Plugins.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/Plugins.md b/doc/Plugins.md index a30a3f4a7..49d0665fe 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);