Extension:AjaxComments/Hooks/AjaxCommentsCheckWritable

Hook name When is it called Parameters
AjaxCommentsCheckWritable Just before the content is loaded to allow adding external conditions for whether comments can be added or replied to.
  • $title (page title)
  • &$canComment (boolean - defaults to true if user is logged in)