summaryrefslogtreecommitdiff
path: root/classes/PluginHost.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-05-02 18:40:47 +0000
committerAndrew Dolgov <fox@fakecake.org>2025-05-02 18:40:47 +0000
commitbc0da8edb699eec9fb6424bb5d8650ac48dca69d (patch)
tree1433d63b437b719bca1f11f9b6a605352aac3677 /classes/PluginHost.php
parent4ae17d0f1c956bfe392653ab847eb2e3da6f7bfc (diff)
parent3098dc0a163b4b70105da2eae1237057ae97ccb1 (diff)
Merge branch 'marked-hook' into 'master'
add plugin hooks invoked when articles get un/marked or un/published See merge request tt-rss/tt-rss!123
Diffstat (limited to 'classes/PluginHost.php')
-rw-r--r--classes/PluginHost.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/PluginHost.php b/classes/PluginHost.php
index ec47e6249..1ab9c0301 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_mark_toggled() */
+ const HOOK_ARTICLES_MARK_TOGGLED = "hook_articles_mark_toggled";
+
+ /** @see Plugin::hook_articles_publish_toggled() */
+ const HOOK_ARTICLES_PUBLISH_TOGGLED = "hook_articles_publish_toggled";
+
const KIND_ALL = 1;
const KIND_SYSTEM = 2;
const KIND_USER = 3;