PHPackages                             wearerequired/comment-retention-policy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wearerequired/comment-retention-policy

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

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.

01.7kPHP

Since May 17Pushed 6y agoCompare

[ Source](https://github.com/wearerequired/comment-retention-policy)[ Packagist](https://packagist.org/packages/wearerequired/comment-retention-policy)[ RSS](/packages/wearerequired-comment-retention-policy/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Retention Policy for Comments
=============================

[](#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
------------

[](#installation)

If you're using [Composer](https://getcomposer.org/) to manage dependencies, you can use the following command to add the plugin to your site:

```
composer require wearerequired/comment-retention-policy
```

Setup
-----

[](#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.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1446895?v=4)[required](/maintainers/wearerequired)[@wearerequired](https://github.com/wearerequired)

---

Top Contributors

[![ocean90](https://avatars.githubusercontent.com/u/617637?v=4)](https://github.com/ocean90 "ocean90 (5 commits)")

---

Tags

commentsdata-retentiongdprwordpress-plugin

### Embed Badge

![Health badge](/badges/wearerequired-comment-retention-policy/health.svg)

```
[![Health](https://phpackages.com/badges/wearerequired-comment-retention-policy/health.svg)](https://phpackages.com/packages/wearerequired-comment-retention-policy)
```

###  Alternatives

[vdb/php-spider

A configurable and extensible PHP web spider

1.4k181.0k7](/packages/vdb-php-spider)[igorw/config-service-provider

A config ServiceProvider for Silex with support for php, json and yaml.

215636.5k13](/packages/igorw-config-service-provider)[emadadly/laravel-uuid

laravel uuid a simple, automatic UUID generator for any model based on Laravel.

120415.9k3](/packages/emadadly-laravel-uuid)[skyronic/laravel-file-generator

Laravel package to help you automate creation of files. Build your own custom generators like 'artisan make:model'.

6748.3k](/packages/skyronic-laravel-file-generator)[outl1ne/nova-media-hub

A Laravel Nova tool for managing media.

4652.0k](/packages/outl1ne-nova-media-hub)[conquer/select2

Yii2 Select2 widget

1678.0k4](/packages/conquer-select2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
