I am trying to do some work with pro-reports explicitly :
I need to in my email-body.php extract the following so I can access them, specifically the following items
Site Url (as i need it to access a custom API)
Date Range (So I can separate the start and finish dates for the api)
I would also like to read in:
[plugin.updated.count]
[theme.updated.count]
[wordpress.updated.count]
So I can add them all together than issue as a [total_update-count]
I can’t find a way to read them into a variable to be able to do this or begin this;
Can anyone tell me how do to this and share a code snippet so I can understand please?
So if I can’t do it in the template can I do it in a plugin? and if so how do I access that specific data? I am trying to get Independant Analytics stats into mainwp I can do it for a single site by manually setting the data
Thanks Bojan, I wonder if there is a way I can hook into the PHP that generates these stats directly then?
[plugin.updated.count]
[theme.updated.count]
[wordpress.updated.count]
The other relates to a support ticket I submitted so I am going to leave that to your reply there, so I can give more specifics without having to hide api test points etc.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.