Skip to content

Latest commit

 

History

History
executable file
·
38 lines (22 loc) · 1.04 KB

README.md

File metadata and controls

executable file
·
38 lines (22 loc) · 1.04 KB

Delete Expired Entries plugin for Craft CMS 3.x

This plugin automatically deletes entries when a set time has elapsed from a date/time field.

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require jmkelley/dumptruck
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Delete Entries.

Dump Truck Overview

This plugin can be used to delete expired entries of sections (Channel and Structure)

Configuring Dump Truck

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