diff options
author | Dave Zaikos <[email protected]> | 2014-05-12 00:59:27 -0400 |
---|---|---|
committer | Dave Zaikos <[email protected]> | 2014-05-12 00:59:27 -0400 |
commit | 2bb11658a8b032dc345b402de25265befa54608e (patch) | |
tree | cc72f579e295521eb76f616fd4ef77df1fc19947 /classes/pluginhost.php | |
parent | 1fd733c8ff026f0d5095a2c5a1ebe4d4095da3cd (diff) |
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.
Diffstat (limited to 'classes/pluginhost.php')
-rw-r--r-- | classes/pluginhost.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 4582c314a..bd6afa81d 100644 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -40,6 +40,7 @@ class PluginHost { const HOOK_QUERY_HEADLINES = 23; const HOOK_HOUSE_KEEPING = 24; const HOOK_SEARCH = 25; + const HOOK_FORMAT_ENCLOSURES = 26; const KIND_ALL = 1; const KIND_SYSTEM = 2; |