Please open an issue on our github tracker.
Include additional data in digest emails
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?
PitaJ Global Moderator Plugin & Theme Dev
A combination of overriding the template and
filter:email.paramsshould work for you.
@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?
PitaJ Global Moderator Plugin & Theme Devreplied to alanbrown on last edited by
@alanbrown it has to be one of the existing params. Looks like it's the