Skip to content

Commit

Permalink
gw-delay-feed-till-user-registration.php: Added snippet to delay a …
Browse files Browse the repository at this point in the history
…feed until the User Registration feed had its user activated.
  • Loading branch information
saifsultanc committed Feb 4, 2025
1 parent 6e550f5 commit ea29dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gravity-forms/gw-delay-feed-till-user-registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Delay a specified feed until user registration is complete.
* This is useful when you have a feed that needs to be processed after user registration is complete.
*/
class GW_Delayed_Feed_Processing {
class GW_Delayed_Feed_Processing_Till_User_Registration {

private $_args = array();

Expand Down Expand Up @@ -66,7 +66,7 @@ public function make_feed_async( $is_asynchronous, $feed, $entry, $form ) {
}

# Configuration: Pass feed_slug (mandatory) and form_id (optional)
new GW_Delayed_Feed_Processing( array(
new GW_Delayed_Feed_Processing_Till_User_Registration( array(
'feed_slug' => 'gc-notion', // Specify the feed_slug (mandatory)
'form_id' => 6, // Optional: Specify the form_id (or apply to all forms).
) );

0 comments on commit ea29dc7

Please sign in to comment.