From 63df69f4fb046311a8387db2ff36cbd35b152419 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 24 Jul 2014 14:24:34 -0400 Subject: [PATCH] documenting hooks --- docs/plugins/hooks.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/plugins/hooks.rst b/docs/plugins/hooks.rst index 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`` ^^^^^^^^^^^^^^^^^^^^^