Filter: gk/gravityview/view/embed-state/denial
Filters why the View is kept off a request that does not prove an embed.
An integration that shows the View on a screen of its own, such as Dashboard Views, returns null for a request that screen sends, so its lightbox, DataTables and map requests open the View, and its entries, as the screen does.
Parameters
| Name | Type | Description |
|---|---|---|
| $denied | \WP_Error|null | Why the View is kept off its own page, or null when it is not. |
| $view | \View | The View the request is for. |
| $request | \GV\Request|\WP_REST_Request|null | The request. |
Since
- 3.14.0
Source
Defined in src/View/EmbedState.php at line 238