pass feed information to article filters

This commit is contained in:
Andrew Dolgov 2013-09-02 10:03:04 +04:00
parent 07734eee5a
commit f73e03e000

View file

@ -644,7 +644,11 @@
"tags" => $entry_tags,
"plugin_data" => $entry_plugin_data,
"author" => $entry_author,
"stored" => $stored_article);
"stored" => $stored_article,
"feed" => array("id" => $feed,
"fetch_url" => $fetch_url,
"site_url" => $site_url)
);
foreach ($pluginhost->get_hooks(PluginHost::HOOK_ARTICLE_FILTER) as $plugin) {
$article = $plugin->hook_article_filter($article);