| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 06:42:13 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_web_api_capability_put_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=MK9pCqXqjzUdE6Ig1OJQW3SRT4cASSSTDADwce%2FLs%2Bpj5n14YI6PLTy%2FQsVLii8B0OR31qUIYNBnP6PpQYulbU%2F2B1y5c%2Fq8hxV%2Byb8Pnr5egvPx"}]}
cf-ray: 9b46d629dd934e3d-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 06:42:13 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=ci6XIYsuZxS1d61ZWLRajj%2BC9jCFtexVsD04MduSf4DELGQbctl05jMnhtpnS%2BADVFi03qdB9P%2FE9RklhUl4aXDn72mV0qZhVmwTo8sP9avfvD%2FS"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b46d630ae5b4e3d-BLR
gform_web_api_capability_put_forms - Gravity Forms Documentation
gform_web_api_capability_put_forms
Description
Filters the capability required to update forms via the web API.
Usage
add_filter( 'gform_web_api_capability_put_forms', function ( $capability ) { return 'my_custom_capability'; } );
Parameters
- $capability string
The capability required. Defaults to ‘gravityforms_create_form’.
Example
add_filter( 'gform_web_api_capability_put_forms', function ( $capability ) { return 'my_custom_capability'; } );
Source Code
This action hook is located in webapi.php