CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 23:47:17 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=VGcqIYU45gOuqAX3Q9JIq1a2x%2Fl4GxPM1uAM0f265NvJbZg1ZmcVI0t%2Bs4LKMREd8pOw05moDyRWuV7tZ7WNHRNnl%2F7XX8b9JeRRQtS%2Fu1lFfZFp"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 98d23ddbbfa78a2a-BLR
gform_ajax_spinner_url - Gravity Forms Documentation
gform_ajax_spinner_url
Description
This filter can be used to change the default AJAX spinner image
Usage
add_filter( 'gform_ajax_spinner_url', 'custom_spinner_image', 10, 2 );
You can also specify this per form by adding the form id after the hook name.
add_filter( 'gform_ajax_spinner_url_6', 'custom_spinner_image', 10, 2 );
Parameters
- $image_src string
The spinner image URL to be filtered
-
$form Form Object
Current form.
Examples
Change the spinner image to a custom image file.
add_filter( 'gform_ajax_spinner_url', 'spinner_url', 10, 2 ); function spinner_url( $image_src, $form ) { return 'https://www.somedomain.com/spinner.png'; }
Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in GFFormDisplay::get_form() in form_display.php