Use Report Tokens in Report PHP File


I have searched previous Topics and have not been able to find a solution.

I have created some custom tokens for Pro Reports (screenshot below).

How can use those tokens in the Report PHP file when customising the reports?

I’d love it if someone can point me in the right direction.



@LonelyViking Hey - To pull in “shortcodes” outside of the WP editor you will need to utilize the do_shortcode() WP function like so: do_shortcode() | Function | WordPress Developer Resources

Let me know if you need further help.

Thanks, Keith! I’ll give it a try :blush:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.