Filter: gravityview/entry-revisions/restore/add-new
Should a new revision be created with the prior state, when creating a revision?
Parameters
| Name | Type | Description |
|---|---|---|
| $add_new | bool | Should a new revision be created based on the entry before the restoration? [Default: True] |
| $prior_entry | array | Entry before restoring values |
| $new_entry | array | Current entry, after restoring values |
Since
Source
Defined in class-gv-entry-revisions.php at line 765