wearerequired / comment-retention-policy
Allows to configure a retention period of IP addresses of commenters by specifying how old the comment should be before the IP is deleted.
Installs: 1 659
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=7.1
- wearerequired/traduttore-registry: ^1.0 || ^2.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-17 20:06:37 UTC
README
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:
composer require wearerequired/comment-retention-policy
Setup
WordPress' default retention period is to keep the data indefinitely. To configure the retention period:
- Navigate to the Discussion settings below the general Settings menu item.
- Scroll to Retention Period
- Select any of the following options:
- Keep data (default) – No retention period will be configured and the data will be kept indefinitely.
- 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.