I’m used to use actions and filters in the functions file.
But I can’t seem to find any doc about that (or any) hook you mention. Can you provide a code example?
Allso, is there a way to allways leave the message content open in first instance and not closed? Now I only see the author and a date. It isn’t obvious (for older people) that you have to click to see the content.