wp_list_snapshots
List a page's pre-write SNAPSHOTS — the undo history. XeoRank captures the page's before-state automatically ahead of every write (wp_update_page, wp_patch_page, wp_bulk_replace, wp_replace_section, …), newest first, up to 20 per page. Each row has a revision_id, the tool whose write it preceded, its kind (elementor = _elementor_data, post_content = block/classic markup) and whether it is restorable. Use before wp_restore_snapshot, or to answer 'what did you change?'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | Page/post ID | |
| site_id | Yes | The WordPress site ID |