Filter: gk/gravityview/view/output/direct/404
Whether a View that denies direct access should answer 404 rather than a 200 page carrying an explanatory message.
Parameters
| Name | Type | Description |
|---|---|---|
| $should_404 | bool | Whether to send a 404. Default: true. |
| $view | \GV\View | The View being requested directly. |
Since
- 3.4.0
Source
Defined in src/View/DirectAccess.php at line 151