Add error or debug logging in your code and leave it there. Logs will only be recorded with this plugin, otherwise will be ignored.
As of April 2026, WP Log Action is a WordPress log plugin with 40 active installations and a 5/5 rating from 1 reviews. It has been downloaded 4.6K+ times in total. Requires WordPress 5.3+ and PHP false+. Available on WordPress.org since 2016. Top alternative: Check & Log Email – Easy Email Testing….
This plugin uses hooks in the opposite way most plugins do. You add do_action where you want to do some logging and this plugin will save it to the database only when active.
This plugin now logs plugin activity (when activated, deactivated, deleted, updated, installed), when wordpress is updated, and when functions are used wrong or deprecated.
Example:
do_action( 'wp_log_info', 'So far ok', 'Details of what is ok.' );
if ( $something_bad_happened ) {
do_action( 'wp_log_error', 'This Happened!', 'Details of what happened.' );
...
}
See Tools->Logs to view, delete, and export the logs on the admin side. Only users with the manage_options capability will have access.
This plugin automatically logs deprecated and doing_it_wrong errors. The rest is what you add to…
| WordPress | 5.3+ requiredTested up to 6.8.5 |
| PHP | false+ required |
Fixed cron job not running.
Updated delete function.
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.