From f56ae1dcc97541e4920dd254665f6c81e52675ae Mon Sep 17 00:00:00 2001 From: jc Date: Mon, 7 Oct 2019 13:43:24 +0000 Subject: [PATCH 1/3] Add HOOK_FEED_TREE to div feeds-holder --- index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.php b/index.php index ee66c0ef8..cf57def79 100644 --- a/index.php +++ b/index.php @@ -140,6 +140,11 @@
+ get_hooks(PluginHost::HOOK_FEED_TREE) as $p) { + echo $p->hook_feed_tree(); + } + ?>
From a243979aafcf71d6bec6a0ba9b2bca7a6ea0925e Mon Sep 17 00:00:00 2001 From: jc Date: Mon, 7 Oct 2019 13:44:57 +0000 Subject: [PATCH 2/3] Add const HOOK_FEED_TREE --- classes/pluginhost.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/pluginhost.php b/classes/pluginhost.php index eab808ae9..f65cf9393 100755 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -60,6 +60,7 @@ class PluginHost { const HOOK_FILTER_TRIGGERED = 40; const HOOK_GET_FULL_TEXT = 41; const HOOK_ARTICLE_IMAGE = 42; + const HOOK_FEED_TREE = 43; const KIND_ALL = 1; const KIND_SYSTEM = 2; From 8fd11fd53abe81b97a95e150bf52ec74ac51fce2 Mon Sep 17 00:00:00 2001 From: jc Date: Mon, 7 Oct 2019 13:46:31 +0000 Subject: [PATCH 3/3] Add const HOOK_FEED_TREE --- classes/pluginhost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/pluginhost.php b/classes/pluginhost.php index f65cf9393..ac782e699 100755 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -60,7 +60,7 @@ class PluginHost { const HOOK_FILTER_TRIGGERED = 40; const HOOK_GET_FULL_TEXT = 41; const HOOK_ARTICLE_IMAGE = 42; - const HOOK_FEED_TREE = 43; + const HOOK_FEED_TREE = 43; const KIND_ALL = 1; const KIND_SYSTEM = 2;