Skip to main content

Filter: gravityflow_rest_api_capability_cancel_workflow

Filters the capability required to cancel a workflow 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/rest-api/v2/controllers/class-controller-workflows.php at line 221