# Comment Edit Core

Comment Edit Core allows you to edit comments for up to 5 minutes.

{% embed url="<https://wordpress.org/plugins/simple-comment-editing/>" %}

To ensure compatibility between Comment Edit Core and Ajaxify Comments, you can update the `OnAfterUpdateComments` callback with the following snippet:

```javascript
window.SCE_comments_updated(commentUrl)
```

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FPuL5xlJJBSlgV16lWPea%2Fdlxplugins-1695325979496-1x.webp?alt=media&#x26;token=54fa12fb-5195-47f1-9143-acd6895f2a13" alt=""><figcaption><p>OnAfterUpdateComments Callback for Comment Edit Core</p></figcaption></figure>

You should now be able to edit comments when new comments are posted.


---

# 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/ajaxify-comments/plugin-integrations/comment-edit-core.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.
