diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-01 22:36:33 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-01 22:36:33 +0300 |
| commit | 5f70e4111889ddf4b97a257abd81f94cac7bac8a (patch) | |
| tree | fc3efcbf8c1854bfafe2dca51fbd25398bdef15a /classes/PluginHost.php | |
| parent | 4ae17d0f1c956bfe392653ab847eb2e3da6f7bfc (diff) | |
add plugin hooks invoked when articles get un/marked or un/published
Diffstat (limited to 'classes/PluginHost.php')
| -rw-r--r-- | classes/PluginHost.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/PluginHost.php b/classes/PluginHost.php index ec47e6249..bfc02318b 100644 --- a/classes/PluginHost.php +++ b/classes/PluginHost.php @@ -199,6 +199,12 @@ class PluginHost { /** @see Plugin::hook_validate_session() */ const HOOK_VALIDATE_SESSION = "hook_validate_session"; + /** @see Plugin::hook_articles_marked() */ + const HOOK_ARTICLES_MARKED = "hook_articles_marked"; + + /** @see Plugin::hook_articles_published() */ + const HOOK_ARTICLES_PUBLISHED = "hook_articles_published"; + const KIND_ALL = 1; const KIND_SYSTEM = 2; const KIND_USER = 3; |