Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save matty0501/019195400928087318c34a3429fe031b to your computer and use it in GitHub Desktop.
Save matty0501/019195400928087318c34a3429fe031b to your computer and use it in GitHub Desktop.
<?php
/**
* Gravity Shop // GS Product Configurator // Don't Delay User Registration Feed
*
* Instructions:
* 1. Install per https://gravitywiz.com/documentation/how-do-i-install-a-snippet/
*/
add_filter( 'gspc_delay_feed_processing', function( $delay, $form, $entry, $slug, $payment_feed ){
if( $slug === 'gravityformsuserregistration' ){
$delay = false;
}
return $delay;
}, 10, 5 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment