Skip to main content

Filter: gform_rest_api_capability_post_notes

Filters the capability required to create entries 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/webapi/v2/includes/controllers/class-controller-entry-notes.php at line 194
  • Defined in includes/webapi/v2/includes/controllers/class-controller-notes.php at line 292