Filter: gravityview/rest/entry/fields
Allow more entry fields that are output in regular REST requests.
Parameters
| Name | Type | Description |
|---|---|---|
| $allowed | array | The allowed ones, default by_visible, byposition( "context*" ), i.e. as set in the view. |
| $view | \View | The view. |
| $entry | \GV\Entry | The entry. |
| $request | \WP_REST_Request | Request object. |
| $context | string | The context (directory, single) |
Source
Defined in future/includes/rest/class-gv-rest-views-route.php at line 155