Clear Scheduled Actions
Clear Scheduled Actions: WordPress support tool that clears down Action Scheduler completed, failed or pending actions.
by Alan · github.com/alanef/plugin-for-wordpress-clear-action-scheduler-actions
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/alanef/plugin-for-wordpress-clear-action-scheduler-actions/archive/refs/heads/main.zipDescription
Clear Scheduled Actions is a WordPress plugin designed to clear down the Action Scheduler's completed, failed, or pending actions. This tool can be useful for site administrators who need to manage and clean up scheduled actions that are no longer needed.
Installation
- Upload the plugin files to the
/wp-content/plugins/clear-scheduled-actionsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress.
Usage
- Navigate to
Tools->Clear Scheduled Actions. - Select the type of actions you wish to clear (
Completed Actions,Failed Actions, orPending Actions). - Click
Clear Actions.
Frequently Asked Questions
Q: What does this plugin do?
A: It clears completed, failed, or pending scheduled actions from the Action Scheduler, helping to keep your database clean.
Q: Do I need any special permissions to use this plugin?
A: Yes, you need to have manage_options capability to access and use this plugin.
Q: Does this work with all versions of Action Scheduler?
A: The plugin attempts to work with both current and older versions of Action Scheduler by checking for different table prefixes.
Changelog
1.2
- Added ability to clear pending actions with warning message
1.1
- Added diagnostics to count actions before and after deletion.
- Improved compatibility with older versions of Action Scheduler by checking for fallback table names.
1.0
- Initial release.
License
This plugin is licensed under the GPL2 license. See the GPL2 License URI for full details.
Author
Developed by Alan