Skip to content

Commit ea29dc7

Browse files
committed
gw-delay-feed-till-user-registration.php: Added snippet to delay a feed until the User Registration feed had its user activated.
1 parent 6e550f5 commit ea29dc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gravity-forms/gw-delay-feed-till-user-registration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Delay a specified feed until user registration is complete.
88
* This is useful when you have a feed that needs to be processed after user registration is complete.
99
*/
10-
class GW_Delayed_Feed_Processing {
10+
class GW_Delayed_Feed_Processing_Till_User_Registration {
1111

1212
private $_args = array();
1313

@@ -66,7 +66,7 @@ public function make_feed_async( $is_asynchronous, $feed, $entry, $form ) {
6666
}
6767

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

0 commit comments

Comments
 (0)