Skip to content

Commit 7566070

Browse files
committed
gcgs-disable-async.php: Added new snippet to disable async.
1 parent 08c3aec commit 7566070

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gc-google-sheets/gcgs-disable-async.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
* 1. Install per https://gravitywiz.com/documentation/how-do-i-install-a-snippet/
1111
*/
1212
add_filter( 'gform_is_feed_asynchronous', function( $is_async, $feed, $entry, $form ) {
13-
if ( $feed['addon_slug'] === 'gp-google-sheets' ) {
14-
return false;
15-
}
13+
if ( $feed['addon_slug'] === 'gp-google-sheets' ) {
14+
return false;
15+
}
1616

17-
return $is_async;
17+
return $is_async;
1818
}, 50, 4 );

0 commit comments

Comments
 (0)