]> git.mxchange.org Git - friendica.git/commitdiff
add some hook docu
authorrabuzarus <>
Thu, 28 Apr 2016 21:18:38 +0000 (23:18 +0200)
committerrabuzarus <>
Thu, 28 Apr 2016 21:18:38 +0000 (23:18 +0200)
doc/Plugins.md

index a30a3f4a71fe1db2f95815ce75717ff69439024e..49d0665fec9efd2e277816769bd6cfb0b1c09e76 100644 (file)
@@ -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);