Skip to main content

Filter: gravityview/rest/entry/fields

Filter the field IDs that are output in REST requests.

Parameters

NameTypeDescription
$allowed_field_idsarrayArray of field IDs to output. Default: visible fields in the View context.
$view\ViewThe View.
$entry\GV\EntryThe entry.
$request\WP_REST_RequestRequest object.
$contextstringThe context (directory, single).

Since

Source

Defined in future/includes/rest/class-gv-rest-views-route.php at line 157