Customs tokens from Client Reports brokens in Pro

Thanks,

So I tried this, it works better (the template is not destroyed like before),
but I can’t get my values to show.

Previously, just modifying $report-body was enough to apply changes to the template, it was probably passed by reference.

With this version, modifications to $templ_content are not applied.

I’m currently trying to return the content with $tokens_values.

But maybe i’ll just replace these tokens with simples like [translations.updates], because it works perfectly,
and sections were more useful in Client Reports because it was just a textarea, now we can do that directly in the php file :thinking: