aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/comments_are_now_closed.bb
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-11-08 23:39:04 +0100
committerMax Kostikov <max@kostikov.co>2019-11-08 23:39:04 +0100
commitec68ede79faffd5733c3eaa24df2e4fb3b54eeb9 (patch)
treec26098c1c0ebff705dc4ef4f324b8b1656c61b9a /doc/hook/comments_are_now_closed.bb
parent3706afbd01164c9f322c605d6ec242e6ca4770fa (diff)
parent478014f02a9241ec6d5b5e9672968897176302d2 (diff)
downloadvolse-hubzilla-ec68ede79faffd5733c3eaa24df2e4fb3b54eeb9.tar.gz
volse-hubzilla-ec68ede79faffd5733c3eaa24df2e4fb3b54eeb9.tar.bz2
volse-hubzilla-ec68ede79faffd5733c3eaa24df2e4fb3b54eeb9.zip
Merge branch 'dev' into 'dev'
Dev sync See merge request kostikov/core!4
Diffstat (limited to 'doc/hook/comments_are_now_closed.bb')
-rw-r--r--doc/hook/comments_are_now_closed.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/hook/comments_are_now_closed.bb b/doc/hook/comments_are_now_closed.bb
new file mode 100644
index 000000000..4d3baa95a
--- /dev/null
+++ b/doc/hook/comments_are_now_closed.bb
@@ -0,0 +1,11 @@
+[h3]comments_are_now_closed[/h3]
+
+Called when deciding whether or not commenting is closed for an item.
+
+
+Hook data (array):
+ item => posted item
+ closed => 'unset'
+
+
+To over-ride the default behaviour, change closed to true or false