]> git.wh0rd.org - tt-rss.git/commit
Added HOOK_FORMAT_ENCLOSURES plugin hook.
authorDave Zaikos <myself@zaikos.com>
Mon, 12 May 2014 04:59:27 +0000 (00:59 -0400)
committerDave Zaikos <myself@zaikos.com>
Mon, 12 May 2014 04:59:27 +0000 (00:59 -0400)
commit2bb11658a8b032dc345b402de25265befa54608e
treecc72f579e295521eb76f616fd4ef77df1fc19947
parent1fd733c8ff026f0d5095a2c5a1ebe4d4095da3cd
Added HOOK_FORMAT_ENCLOSURES plugin hook.

Runs HTML and enclosures array through a plugin hook when rendering an article's enclosures in format_article_enclosures(). Allows plugins to override handling of how enclosures are presented by either filtering the array of enclosures, or generating the HTML to add to the article content.
classes/pluginhost.php
include/functions2.php