Filter: gravityflow_rest_api_capability_reports
Filters the capability required to view reports via the REST API.
Parameters
| Name | Type | Description |
|---|---|---|
| $capability | string|array | The capability required for this endpoint. |
| $request | \WP_REST_Request | Full data about the request. |
Since
Source
Defined in includes/blocks/endpoints/reports/class-endpoint.php at line 36