Documentation Hubzilla
This page is not yet available in français. See /help/developer/developer_guide#Translations for information about how to help.
Contenus
comments_are_now_closed
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