From 58210301e0e462ddfe9bd625865059d57a0c7cd7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 Feb 2017 16:01:28 +0300 Subject: add HOOK_ENCLOSURE_ENTRY for af_zz_imgproxy --- include/functions2.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/functions2.php') diff --git a/include/functions2.php b/include/functions2.php index 96274b6a0..21fe805f7 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -1944,6 +1944,10 @@ foreach ($result as $line) { + foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ENCLOSURE_ENTRY) as $plugin) { + $line = $plugin->hook_render_enclosure($line); + } + $url = $line["content_url"]; $ctype = $line["content_type"]; $title = $line["title"]; -- cgit v1.2.3