# Comment Expiration by Post Activity

<figure><img src="/files/n8hxVAKNnZqMsWu7QkRK" alt=""><figcaption><p>Post Expiration Settings</p></figcaption></figure>

The default behavior of WordPress is to expire a post after 14 days. This feature changes that up.

You can now set up expiration based on post activity. If a post gets updated, or a new comment is posted, the clock resets.

### Set the Expiration Time (in days)

Since expiration goes off of last activity, the number of days will be the amount without any activity.

### Enable for Post Types

You can choose to enable this feature for some post types or all post types.

### Allow Per-Post Overrides

By enabling per-post overrides, each post, page, or post type will have a sidebar option so that you can set the expiration at the post label.

<figure><img src="/files/RQxbKqy7nPnFRaoxyCsa" alt=""><figcaption><p>Set Per-Post Activity Overrides</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dlxplugins.com/comment-edit-pro/features-overview/tools/comment-expiration-by-post-activity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
