Is there any overview of when which hook is run?
I'm about to write a plugin to replace the snippet in the RSS by content from the linked page. So far I've seen other plugins doing a similar thing by using HOOK_ARTICLE_FILTER, HOOK_SANITIZE or HOOK_RENDER_ARTICLE_CDM. From what I've seen in the code, SANITIZE and RENDER_ARTICLE_CDM are run too late and won't modify the database contents. HOOK_FEED_FETCHED seems a little too early.
Should I use HOOK_FEED_PARSED or HOOK_ARTICLE_FILTER to modify an item's contents before it is sent to the database?
Development-related discussion, including bundled plugins
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests