WP Manifestindependent plugin directory
manifest / privacy / comment-retention-policy

Retention Policy for Comments

Allows to configure a retention period of IP addresses of commenters by specifying how old the comment should be before the IP is deleted.

by required · github.com/wearerequired/comment-retention-policy · website

0stars
1.7kcomposer installs
0forks

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/wearerequired/comment-retention-policy/archive/refs/heads/master.zip

Also on Packagist as wearerequired/comment-retention-policy:

composer require wearerequired/comment-retention-policy

From the readme

Retention Policy for Comments Allows to configure a retention period of IP addresses of commenters by specifying how old the comment should be before the IP is deleted. In the future the plugin may be extended to support other comment fields like user agents or URLs. Installation If you're using Composer to manage dependencies, you can use the following command to add the plugin to your site: Setup WordPress' default retention period is to keep the data indefinitely. To configure the retention period: 1. Navigate to the Discussion settings below the general Settings menu item. 2. Scroll to Retention Period 3. Select any of the following options: 1. Keep data (default) – No retention period will be configured and the data will be kept indefinitely. 2. Delete IPs for comments older than – Use this option to delete comment IPs that are older than the configured retention period. You can specify a number of days, weeks, or months.

Read the full README on GitHub →