Filter: gfpdf_gv_revoke_pdfs_for_unpublished_view
Whether a PDF stops being served once its View is unpublished or trashed.
Return false to keep outstanding links and share forms alive across an unpublish, or inspect $status to allow some non-public states (say private) while still revoking on trash.
Parameters
| Name | Type | Description |
|---|---|---|
| $revoke | bool | Whether to refuse. Default: true. |
| $view | \GV\View | The View being served. |
| $status | string|false | The View's resolved post status. |
Since
- 2.0
Source
Defined in src/Pdf/ViewStatus.php at line 59