I'm currently using
within the emoji-extended plugin.json, it resolves to this function:
return data.html+="\n<style type='text/css'>"+EMAIL_STYLE+"</style>"
EMAIL_STYLE is a defined variable)
I'm sure this has been working some time ago in local tests for appending those styles to any emails.
It's not working anymore as it seems. I cannot find the appended styles anywhere within emails I receive.
I can't figure out why it's not working anymore. It's all synchronous, so the change within the data should trigger before the call of the mailers (with default priority, 10) action-hook. And even so it's an
action hook the
priority matters according to my reverse-engineering...
I'd love to see this hook being replaced with a
filter since such use is dirty and prevents asynchronous handling. Maybe this would also solve the problem...
Tested with emails of this board...