Skip to main content

Filter: gravityflow_rest_api_capability_reports

Filters the capability required to view reports via the REST API.

Parameters

NameTypeDescription
$capabilitystring|arrayThe capability required for this endpoint.
$request\WP_REST_RequestFull data about the request.

Since

Source

Defined in includes/blocks/endpoints/reports/class-endpoint.php at line 36