Node.js based forum software built for the modern web
documenting hooks
psychobunny63df69f4fb04
diff --git a/docs/plugins/hooks.rst b/docs/plugins/hooks.rstindex e47263ee77..d2385a84c4 100644--- a/docs/plugins/hooks.rst+++ b/docs/plugins/hooks.rst@@ -208,6 +208,24 @@ Executed whenever a post is created or edited, after it is saved into the databa``action:topic.edit``^^^^^^^^^^^^^^^^^^^^^+``action:topic.pin``+^^^^^^^^^^^^^^^^^^^^^++Called when toggling pinned state+Object: tid, isPinned++``action:topic.lock``+^^^^^^^^^^^^^^^^^^^^^++Called when toggling locked state+Object: tid, isLocked++``action:topic.move``+^^^^^^^^^^^^^^^^^^^^^++Called when moving a topic from one category to another+Object: tid, fromCid, toCid+``action:post.edit``^^^^^^^^^^^^^^^^^^^^^