Remove Action Scheduler Completed Tasks

Remove Action Scheduler Completed Tasks

When using Action Scheduler to schedule processing the tasks, the completed tasks are stored for 30 days in your database by default. You might want to remove the action scheduler completed tasks a little earlier or instantly after completion. The

Action Scheduler installed inside “wp-content” folder

Action Scheduler installed inside “wp-content” folder

When you install the action scheduler inside your plugin or theme via composer installer, for example: If you run composer install, Action Scheduler creates a wp-content folder inside the plugin folder. So, the path would be: wp-content/plugins/your-plugin/wp-content/plugins/action-scheduler. The path is

Scheduling the tasks with Action Scheduler

Scheduling the tasks with Action Scheduler

Note: There is already a detailed guideline on usage on Action Scheduler’s homepage. Action Scheduler is developed by WooCommerce and used by popular plugins such as WooCommerce, Yoast SEO, WPForms, Email Notifications For WP ULike, etc. Likewise, you can use