@julian I'm using this hook: filter:email.params. As far as I can tell this is the first place that allows me to replace the data prior to the email being sent.
alanbrown
Posts
-
Include additional data in digest emails -
Include additional data in digest emails@pitaj I've looked at using this hook and i can successfully replace the data here by querying the db and getting new data and overriding the template like you say. The only issue I have is there is no way to tell at this point which digest is being created so i don't know whether to query for daily, weekly or monthly data.
Is it possible to find out the digest term at this point? Or is there another hook earlier in the process where this is available and I can do my replacements?
-
Include additional data in digest emailsHi,
I'm looking to expand the contents of the digest emails to include details of topics that have also been closed and possibly updated during the time period. Has anyone done this before?
I plan to write a plugin that will do the necessary but I'm not sure there are any existing hooks that will allow me to do this.
Can anyone advise here?
Cheers.
Alan.