Last active
July 12, 2019 13:07
-
-
Save thomasgriffin/3504420 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'gform_ajax_spinner_url', 'tgm_io_custom_gforms_spinner' ); | |
/** | |
* Changes the default Gravity Forms AJAX spinner. | |
* | |
* @since 1.0.0 | |
* | |
* @param string $src The default spinner URL. | |
* @return string $src The new spinner URL. | |
*/ | |
function tgm_io_custom_gforms_spinner( $src ) { | |
return get_stylesheet_directory_uri() . '/images/loading.gif'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment