CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 14:52:21 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=7S4InPfnv0Jhqss6OGubCgg6kytp40rCHQPuTK8Fg7idvbTyjs6QFriehYpIk%2FEgUrw40H9x668sd1bhtXA4dRD0SX%2BQPBQxWR5Epf4gCYLl1S12"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 98cf2e465ca7ad8b-BLR
gform_spinner_url - Gravity Forms Documentation
gform_spinner_url
Description
Allows modifying the spinner URL when the gformAddSpinner() function is called directly.
If the spinner URL is not implemented using the gformAddSpinner function, the URL should be changed using the gform_ajax_spinner_url filter.
Usage
gform.addFilter('gform_spinner_url', 'change_spinner'); function change_spinner(){ spinnerUrl, formId ) //do something here return spinnerUrl; }
Parameters
Example
gform.addFilter('gform_spinner_url', 'change_spinner'); function change_spinner(){ spinnerUrl, formId ) spinnerUrl = 'https://your-domain-here.test/wp-content/uploads/spinner.svg'; return spinnerUrl; }
Placement
This code should be placed in a custom JavaScript file used by your theme.
Since
This filter was added in Gravity Forms version 1.8.
Source Code
This filter is located in gformAddSpinner() in js/gravityforms.js.