summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-08-13 12:23:27 +0300
committerAndrew Dolgov <[email protected]>2020-08-13 12:23:27 +0300
commitddf9227dc48faf7effbf3bf263aa271f35d74c43 (patch)
treeaf7ddd4acd9ec9d44924e9bb0d970a99585280b6 /classes/pluginhost.php
parentdfa65e9374a52441d9c7f2d9187dc831b705858e (diff)
pluginhost: allow overriding default sort modes via HOOK_HEADLINES_CUSTOM_SORT_MAP etc
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-xclasses/pluginhost.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index 0ab979c4b..4fec13000 100755
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -66,6 +66,8 @@ class PluginHost {
const HOOK_FEED_TREE = 43;
const HOOK_IFRAME_WHITELISTED = 44;
const HOOK_ENCLOSURE_IMPORTED = 45;
+ const HOOK_HEADLINES_CUSTOM_SORT_MAP = 46;
+ const HOOK_HEADLINES_CUSTOM_SORT_OVERRIDE = 47;
const KIND_ALL = 1;
const KIND_SYSTEM = 2;