This plugin automatically deletes entries when a set time has elapsed from a date/time field.
This plugin requires Craft CMS 3.0.0-beta.23 or later.
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require jmkelley/dumptruck
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Delete Entries.
This plugin can be used to delete expired entries of sections (Channel and Structure)
Go to settings of plugin and set: Time Elapsed Number of days after expired entries will be deleted. Sections Select channels for which it will be applied.
The process of deleting exprired entried can be scheduled with Craft Job by running
php craft dump-truck/dump/entries
Brought to you by Jonathan Kelley