Last active
October 14, 2021 18:17
-
-
Save stevecordle/e8a27229c92bf4281156 to your computer and use it in GitHub Desktop.
Disable ajax on all gravity forms
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
/* | |
Gravity Forms => 1.9 | |
*/ | |
add_filter('gform_form_args', 'no_ajax_on_all_forms', 10, 1); | |
function no_ajax_on_all_forms($args){ | |
$args['ajax'] = false; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment