aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hooklist.bb
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-12 16:17:23 -0700
committerzotlabs <mike@macgirvin.com>2017-06-12 16:17:23 -0700
commit5b3e863323a6b70651454c0972a586e677f55c3d (patch)
treec72a0714fe37e0c320083d8eca8619e8f944a59d /doc/hooklist.bb
parent6ce9eedb5fe746a70416fb66128d6b0ead6f949a (diff)
downloadvolse-hubzilla-5b3e863323a6b70651454c0972a586e677f55c3d.tar.gz
volse-hubzilla-5b3e863323a6b70651454c0972a586e677f55c3d.tar.bz2
volse-hubzilla-5b3e863323a6b70651454c0972a586e677f55c3d.zip
add 'can_comment_on_post' hook so we can better deal with the complications of Diaspora policy
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 ab9c0529d..da4d9596b 100644
--- a/doc/hooklist.bb
+++ b/doc/hooklist.bb
@@ -82,6 +82,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the
[zrl=[baseurl]/help/hook/build_pagehead]build_pagehead[/zrl]
Called when creating the HTML page header
+[zrl=[baseurl]/help/hook/can_comment_on_post]can_comment_on_post[/zrl]
+ Called when deciding whether or not to present a comment box for a post
+
[zrl=[baseurl]/help/hook/change_channel]change_channel[/zrl]
Called when logging in to a channel (either during login or afterward through the channel manager)