PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Getting $user_id at Registration

  1. I need to get the $user_id of a newly created user to fire the "gform_after_submission" hook.

    I found this post but I couldn't figure it out of that.

    I also found this...... but that didn't help either.

    Is this possible?

    I need it so I can use this...

    update_user_meta( $user_id, 'my_custom_field', $defined_value );
    Posted 11 years ago on Wednesday June 6, 2012 | Permalink
  2. Haha... I'm crazy!

    I realized I was making this way harder than it had to be because I could use the custom "User Meta" field included in with the User Registration add-on.

    Never mind!

    Posted 11 years ago on Wednesday June 6, 2012 | Permalink