Filter: gk/gravityview/rest/layouts/list/grid-aware-templates
Filters the list of template ids that drive layout via the grid surface (POST /views/\{id\}/grid/_rows) rather than the static-area filter chain.
Add-ons that ship a grid-aware template can register here so /layouts reports has_grid: true for their id and downstream callers route placement through the row CRUD endpoints.
Parameters
| Name | Type | Description |
|---|---|---|
| $grid_templates | string[] | Template ids using the grid surface. Defaults to ['gravityview-layout-builder']. |
Since
- 3.0.0
Source
- Defined in
src/REST/InspectorRoute.phpat line 1278 - Defined in
src/REST/InspectorRoute.phpat line 7393 - Defined in
src/Abilities/Discovery/ListLayouts.phpat line 76