Filter: gravityview/rest/entry/fields
Filter the field IDs that are output in REST requests.
Parameters
| Name | Type | Description |
|---|---|---|
| $allowed_field_ids | array | Array of field IDs to output. Default: visible fields in the View context. |
| $view | \View | The View. |
| $entry | \GV\Entry | The entry. |
| $request | \WP_REST_Request | Request object. |
| $context | string | The context (directory, single). |
Since
Source
Defined in future/includes/rest/class-gv-rest-views-route.php at line 157