aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hooklist.bb
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-11-03 10:12:12 +0100
committerMario <mario@mariovavti.com>2019-11-03 10:12:12 +0100
commitd0661cd4a30db7042835ca3ffda6a194d6bad9a7 (patch)
tree5ad172a9f06e31f6e360d535427e7dd76d8b050a /doc/hooklist.bb
parent6fd15d66a7a0eb1aaac476e2d25cfea174d0cd81 (diff)
parent707b19dc35160983694b21e5e79dd7ce6d64dfee (diff)
downloadvolse-hubzilla-d0661cd4a30db7042835ca3ffda6a194d6bad9a7.tar.gz
volse-hubzilla-d0661cd4a30db7042835ca3ffda6a194d6bad9a7.tar.bz2
volse-hubzilla-d0661cd4a30db7042835ca3ffda6a194d6bad9a7.zip
Merge branch 'commentsclosed-hook' into 'dev'
Add hook to comments_are_now_closed() See merge request hubzilla/core!1763
Diffstat (limited to 'doc/hooklist.bb')
-rw-r--r--doc/hooklist.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/hooklist.bb b/doc/hooklist.bb
index e11bf1c6f..a923e7ae3 100644
--- a/doc/hooklist.bb
+++ b/doc/hooklist.bb
@@ -154,6 +154,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the
[zrl=[baseurl]/help/hook/comment_buttons]comment_buttons[/zrl]
Called when rendering the edit buttons for comments
+[zrl=[baseurl]/help/hook/comments_are_now_closed]comments_are_now_closed[/zrl]
+ Called when deciding whether or not to present a comment box for a post
+
[zrl=[baseurl]/help/hook/connect_premium]connect_premium[/zrl]
Called when connecting to a premium channel