aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/comments_are_now_closed.bb
diff options
context:
space:
mode:
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