Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Filters the Gravity Forms spinner and replaces it with a base64-encoded blank image
function gf_spinner_replace( $image_src, $form ) {
return 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'; // relative to you theme images folder
add_filter( 'gform_ajax_spinner_url', 'gf_spinner_replace', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment