aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/dropdown_extras.bb
diff options
context:
space:
mode:
Diffstat (limited to 'doc/hook/dropdown_extras.bb')
-rw-r--r--doc/hook/dropdown_extras.bb17
1 files changed, 0 insertions, 17 deletions
diff --git a/doc/hook/dropdown_extras.bb b/doc/hook/dropdown_extras.bb
deleted file mode 100644
index 6d7110a76..000000000
--- a/doc/hook/dropdown_extras.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-[h2]dropdown_extras[/h2]
-
-Modify the dropdown menu available through the cog of items as displayed by conv_item.tpl
-
-This hook allows plugins to add arbitrary html to the cog dropdown of thread items displayed with the conv_item.tpl template.
-
-It is fed an array of ['item' => $item, 'dropdown_extras' => '']. Any additions to the cog menu should be prepended/appended to
-the ['dropdown_extras'] element.
-
-[code]
-$dropdown_extras_arr = [ 'item' => $item , 'dropdown_extras' => '' ];
-call_hooks('dropdown_extras',$dropdown_extras_arr);
-$dropdown_extras = $dropdown_extras_arr['dropdown_extras'];
-[/code]
-
-see: Zotlabs/Lib/ThreadItem.php
-see: view/tpl/conv_item.tpl