---
id: gk-gravityrevisions-entry-revisions-restore-after
title: "Action - gk/gravityrevisions/entry-revisions/restore/after"
sidebar_label: "gk/gravityrevisions/entry-revisions/restore/after"
---

# Action: gk/gravityrevisions/entry-revisions/restore/after

Fires after an entry has been restored from a revision.

Restoring removes every gform_post_update_entry action before writing the entry, so a restore does not set off the notifications, feeds and triggers a fresh edit would. Anything holding its own copy of entry data has no other signal that it changed.

Fires only on a successful restore: an identical revision, or an entry that cannot be read, returns before reaching here.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $entry_id | `int` | Entry that was restored. |
| $prior_entry | `array` | Entry as it was before the restore. |
| $restored_entry | `array` | Entry as restored. Its <code>id</code> and <code>status</code> are removed before the write, so read the entry for either. |
| $revision_id | `int` | Revision that was restored. |

### Since

- TBD: TBD

### Source

Defined in `class-gv-entry-revisions.php` at line 822

