Create Custom Report token with data from child site

Hello, yes the information is available in the Itheme application database.

In the itsec_logs table are logged the events of Itheme.
Attempts of type brute-force are specified in the module column of the table.
Of course, each event is accompanied by a timestamp which is present in the timestamp column.

I’m thinking that by using a WP_Query, it would be possible to retrieve the number of attack attempts per brute-force on the child site.

It would then remain to retrieve this information to the dashboard site in order to contain it in a token so that this information appears in the client report.

One approach might be to draw inspiration from what Darren King does to retrieve information from his site-child, and share a snippet of his code to do so: [Extension Request] Addition of Client Reports [Tokens] for MainWP Code Snippets "return info from child sites" - #4 by dsbking

For the moment, it’s a bit beyond my field of expertise…
I continue to search…
Cheers
Chris

1 Like