List content revisions
list_revisionsRetrieve stored revisions for any WordPress content to review changes and restore a prior version after an incorrect edit.
Instructions
List the stored revisions of a piece of content, so you can see what changed and when — and recover a previous version if an edit went wrong.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Content ID. | |
| type | No | Content type of that ID. | post |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. | |
| per_page | No | How many revisions to return, newest first. |