Custom event logging for WordPress developers.
The EventLog call should resemble this:
$EventLog = new EventLog(array( 'event' => 'Login Successful', 'text' => var_export($_REQUEST,1) ));
The only required parameter is 'event'; 'text' can be any value(s) you want.
To have your events posted to Google Analytics, add your UA code to line 25 of analytics_events.php. If you are using Yoast's Google Analytics plugin, you can skip this step as WP-Logs will pull your UA information from the database.
To use it, setup and configure WP-Notifo with your Notifo API keys. Then add a 'notifo' line to your EventLog call, e.g.:
$EventLog = new EventLog(array( 'event' => 'New post', 'text' => 'A user created a new post', 'notifo' => 1 ));
The last line tells WP-Logs to send this event to Notifo.
Requires: 3.0 or higher
Compatible up to: 3.0.5
Last Updated: 6 years ago
Active Installs: 50+
Got something to say? Need help?