| CARVIEW |
Select Language
HTTP/2 301
date: Mon, 29 Dec 2025 16:57:23 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_web_api_capability_get_results/
server: cloudflare
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'self';
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
x-redirect-by: WordPress
fastcgi-cache: MISS
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=TRyymZiKPXuAZM0Jo4h%2FUxnFgRWB9Cjc4dqlaIGqLJNza0V38Cu2vxrC8N6ALBVEBCqIkDg99JSItTHTrq6SYdqXCLFyoXV5FQsu5yZ79uAOGA%2FJ"}]}
cf-ray: 9b5ad60c3e8caf3d-BLR
HTTP/2 200
date: Mon, 29 Dec 2025 16:57:24 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
vary: Accept-Encoding
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'self';
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
fastcgi-cache: MISS
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=UXE%2FSItvl7xr4zxS1SqCfyFR1IZX9qD3d26S4N016sLolZQq1cTCGOpGCR6TYZp4cD21gTj4VbbtldTXMk%2FKD5txqrveNzx5PxgTEVxeacaurav5"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b5ad6130abcaf3d-BLR
gform_web_api_capability_get_results - Gravity Forms Documentation
gform_web_api_capability_get_results
Description
Filters the capability required to get form results via the web API.
Usage
add_filter( 'gform_web_api_capability_get_results', function ( $capability ) { return 'my_custom_capability'; } );
Parameters
- $capability string
The capability required. Defaults to ‘gravityforms_view_entries’.
Example
add_filter( 'gform_web_api_capability_get_results', function ( $capability ) { return 'my_custom_capability'; } );
Source Code
This action hook is located in webapi.php