| CARVIEW |
Select Language
HTTP/2 301
date: Sun, 28 Dec 2025 12:00:56 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_web_api_capability_get_forms/
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=ulgbelWqFfirP0WTYyBnVwyuLIgRQiDDTzxRk7esOxl9bMgc%2FW%2F1MYoeMA%2Bqt5vfFgwRIE3%2FZbz9o5Y12W54%2F3Wyqb7tjlOG202rlX4WfdWdFc8W"}]}
cf-ray: 9b50e66c7c33860e-BLR
HTTP/2 200
date: Sun, 28 Dec 2025 12:00:57 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: HIT
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Gchtf50knR2j%2BlBQLYhsbdi7JMbInyS4%2Fz2Re3LsvnnHh42c72%2Bo1VcGdTYawk%2BBHN9BgFjMzqJ%2BYKdIryO0GtXxQ8T3xyLIgIUkDJ23u5Ymg%2FP9"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b50e672adb2860e-BLR
gform_web_api_capability_get_forms - Gravity Forms Documentation
gform_web_api_capability_get_forms
Description
Filters the capability required to get form details via the web API.
Usage
add_filter( 'gform_web_api_capability_get_forms', function ( $capability ) { return 'my_custom_capability'; } );
Parameters
- $capability string
The capability required. Defaults to ‘gravityforms_edit_forms’.
Example
add_filter( 'gform_web_api_capability_get_forms', function ( $capability ) { return 'my_custom_capability'; } );
Source Code
This action hook is located in webapi.php