If I have channel tags in my template that look like this, is there an available hook to always run before the /exp:channel:entries?

I need to have something put at the bottom of every entry displayed without putting in a plugin tag into the template.

Is this at all possible?

{exp:channel:entries channel="news" limit="3" disable="categories|member_data|category_fields|pagination"}

//do plugin stuff here without loading the tag.

Yes, you can. Check Channel Module Extension Hooks You possible need

channel_entries_tagdata($tagdata, $row, $this)

Modify the tagdata for the channel entries before anything else is parsed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.