CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 20:09:23 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
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=qmVK72YtWsfiHjbzod3bBrkVTugUDYRJnowm06LzLCj%2BTmXOWpQvapGnQvdkXPsHqfHaA3UW3Ip1Un0AzfnfTER8oy0i1fGWU1p3qnDEtfWRD7Ao"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 98d0feaf997ec7d3-BLR
gform_disable_form_theme_css - Gravity Forms Documentation
gform_disable_form_theme_css
Description
The gform_disable_form_theme_css filter allows the default theme used by forms created with Gravity Forms 2.5 and greater to be disabled.
Usage
The filter which would run for all forms would be used like so:
add_filter( 'gform_disable_form_theme_css', 'your_function_name' );
Parameters
- $disabled bool
Whether to disable the theme css.
Examples
1. Disable the theme
add_filter( 'gform_disable_form_theme_css', '__return_true' );
Placement
This code should be placed in the functions.php file of your active theme or a custom functions plugin.
Since
This filter was added in Gravity Forms v2.5.
Source Code
This filter is located in GFFormDisplay::get_form_enqueue_assets() in form_display.php.