summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-02-12 16:01:28 +0300
committerAndrew Dolgov <[email protected]>2017-02-12 16:01:28 +0300
commit58210301e0e462ddfe9bd625865059d57a0c7cd7 (patch)
treecf16254efec2a2c13bec84c72a0f1320759a7a79 /include
parent3891782cf5fc20dc70e17c8665866aef6392233e (diff)
add HOOK_ENCLOSURE_ENTRY for af_zz_imgproxy
Diffstat (limited to 'include')
-rw-r--r--include/functions2.php4
1 files changed, 4 insertions, 0 deletions
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"];