summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/api.php')
-rw-r--r--classes/api.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/api.php b/classes/api.php
index 5e7ec6573..b9168cf93 100644
--- a/classes/api.php
+++ b/classes/api.php
@@ -655,6 +655,11 @@ class API extends Handler {
$headline_row["always_display_attachments"] = sql_bool_to_bool($line["always_display_enclosures"]);
+ global $pluginhost;
+ foreach ($pluginhost->get_hooks($pluginhost::HOOK_RENDER_ARTICLE_API) as $p) {
+ $headline_row = $p->hook_render_article_api($headline_row);
+ }
+
array_push($headlines, $headline_row);
}