MainWP Community

Addition of Client Reports [Tokens] for MainWP Code Snippets "return info from child sites"

Posted for Ua Vandercar

Facebook Post: https://www.facebook.com/groups/MainWPUsers/permalink/3037494836347170/?comment_id=3037554539674533&reply_comment_id=3039133136183340

It would be great to see a customizable merge tag introduced to Client Reports that would call to a specific Code Snippet instance ( that returns info from child sites ) and inserts the resulting HTML output into the report.

So for example, if I have a code snippet that return the installed WordPress Version or Site Heath Score or anything I’d like to pull from the site ( let’s say the snippet has an ID of 27 ), I could then, in a client report, add a merge tag - let’s say [code.snippet:27] - that adds the HTML output to that specific snippet.

It would open so any possibilities! Thanks for your consideration of this idea.